From 8147aa70ff1988e5c836b9e78dda77257acf965d Mon Sep 17 00:00:00 2001 From: Zeitsperre <10819524+Zeitsperre@users.noreply.github.com> Date: Mon, 15 Jan 2024 16:41:24 -0500 Subject: [PATCH 1/2] add Actions-Version-Updater and use organizational Personal Access Tokens --- .github/workflows/actions-version-updater.yml | 24 +++++++++++++++++++ .github/workflows/auto-bumpversion.yml | 2 +- 2 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/actions-version-updater.yml diff --git a/.github/workflows/actions-version-updater.yml b/.github/workflows/actions-version-updater.yml new file mode 100644 index 00000000..fa812b80 --- /dev/null +++ b/.github/workflows/actions-version-updater.yml @@ -0,0 +1,24 @@ +name: GitHub Actions Version Updater + +on: + schedule: + # 12:00 AM on the first of every month + - cron: '0 0 1 * *' + workflow_dispatch: + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4.1.1 + with: + # This requires a personal access token with the privileges to push directly to `main` + token: ${{ secrets.ACTIONS_VERSION_UPDATER_TOKEN }} + persist-credentials: true + - name: Run GitHub Actions Version Updater + uses: saadmk11/github-actions-version-updater@v0.8.1 + with: + token: ${{ secrets.ACTIONS_VERSION_UPDATER_TOKEN }} + committer_email: 'bumpversion[bot]@ouranos.ca' + committer_username: 'update-github-actions[bot]' + pull_request_title: '[bot] Update GitHub Action Versions' diff --git a/.github/workflows/auto-bumpversion.yml b/.github/workflows/auto-bumpversion.yml index 11f77c15..7b97b0a9 100644 --- a/.github/workflows/auto-bumpversion.yml +++ b/.github/workflows/auto-bumpversion.yml @@ -39,5 +39,5 @@ jobs: uses: ad-m/github-push-action@master with: force: false - github_token: ${{ secrets.BUMPVERSION_TOKEN }} + github_token: ${{ secrets.BUMP_VERSION_TOKEN }} branch: ${{ github.ref }} From 74cf17dd43c79521cba06e6bdd7e35a5cb17a364 Mon Sep 17 00:00:00 2001 From: Zeitsperre <10819524+Zeitsperre@users.noreply.github.com> Date: Mon, 15 Jan 2024 16:54:48 -0500 Subject: [PATCH 2/2] update README.rst to fix broken link, add autogenerated docs to gitignore --- .gitignore | 2 ++ README.rst | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index ac5207b6..2517a079 100644 --- a/.gitignore +++ b/.gitignore @@ -40,6 +40,8 @@ output/*/index.html # Sphinx docs/_build +docs/apidoc/miranda*.rst +docs/apidoc/modules.rst # log files *.log diff --git a/README.rst b/README.rst index cc7f8308..eff670fd 100644 --- a/README.rst +++ b/README.rst @@ -54,7 +54,7 @@ In order to gain access to them, we strongly suggest using `Anaconda `_ for its climate data controlled vocabulary. This library is optional for users who do not require validation checks,