From 19f82330ed8672dac34891df51132880388943b2 Mon Sep 17 00:00:00 2001 From: "update-github-actions[bot]" Date: Fri, 1 Dec 2023 15:24:20 +0000 Subject: [PATCH] Update GitHub Action Versions --- .github/workflows/bump-version.yml | 6 +++--- .github/workflows/first_pull_request.yml | 2 +- .github/workflows/gh-pages.yml | 6 +++--- .github/workflows/main.yml | 12 ++++++------ .github/workflows/publish-pypi.yml | 6 +++--- .github/workflows/tag-testpypi.yml | 8 ++++---- 6 files changed, 20 insertions(+), 20 deletions(-) diff --git a/.github/workflows/bump-version.yml b/.github/workflows/bump-version.yml index 2efe5c1..c248b4a 100644 --- a/.github/workflows/bump-version.yml +++ b/.github/workflows/bump-version.yml @@ -35,10 +35,10 @@ jobs: bump_patch_version: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4.1.1 with: persist-credentials: false - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v4.7.1 with: python-version: "3.x" - name: Config Commit Bot @@ -54,7 +54,7 @@ jobs: bump-my-version bump --tag patch echo "new_version=$(grep -E '__version__' xdatasets/__init__.py | cut -d ' ' -f3)" - name: Push Changes - uses: ad-m/github-push-action@master + uses: ad-m/github-push-action@v0.8.0 with: force: false github_token: ${{ secrets.BUMPVERSION_TOKEN }} diff --git a/.github/workflows/first_pull_request.yml b/.github/workflows/first_pull_request.yml index adc51fe..7eef1e9 100644 --- a/.github/workflows/first_pull_request.yml +++ b/.github/workflows/first_pull_request.yml @@ -10,7 +10,7 @@ jobs: name: Welcome runs-on: ubuntu-latest steps: - - uses: actions/github-script@v6 + - uses: actions/github-script@v7.0.1 with: script: | // Get a list of all issues created by the PR opener diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index c0a9805..8e3db45 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -20,11 +20,11 @@ jobs: shell: bash -l {0} steps: - name: Checkout 🛎️ - uses: actions/checkout@v3 + uses: actions/checkout@v4.1.1 with: persist-credentials: false - name: Setup Conda (Micromamba) - uses: mamba-org/setup-micromamba@v1 + uses: mamba-org/setup-micromamba@v1.6.0 with: cache-downloads: true environment-file: environment-docs.yml @@ -40,7 +40,7 @@ jobs: run: | make docs - name: Deploy 🚀 - uses: JamesIves/github-pages-deploy-action@v4.2.2 + uses: JamesIves/github-pages-deploy-action@v4.5.0 with: branch: gh-pages # The branch the action should deploy to. folder: docs/_build/html # The folder the action should deploy. diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0169fc9..f554154 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -26,12 +26,12 @@ jobs: - "3.x" steps: - name: Cancel previous runs - uses: styfle/cancel-workflow-action@0.11.0 + uses: styfle/cancel-workflow-action@0.12.0 with: access_token: ${{ secrets.GITHUB_TOKEN }} - - uses: actions/checkout@v4 + - uses: actions/checkout@v4.1.1 - name: Set up Python${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v4.7.1 with: python-version: ${{ matrix.python-version }} - name: Install tox @@ -57,9 +57,9 @@ jobs: - tox-env: "py311" python-version: "3.11" steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4.1.1 - name: Set up Python${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v4.7.1 with: python-version: ${{ matrix.python-version }} - name: Install tox @@ -85,7 +85,7 @@ jobs: # run: # shell: bash -l {0} # steps: -# - uses: actions/checkout@v4 +# - uses: actions/checkout@v4.1.1 # - name: Setup Conda (Micromamba) with Python${{ matrix.python-version }} # uses: mamba-org/setup-micromamba@v1 # with: diff --git a/.github/workflows/publish-pypi.yml b/.github/workflows/publish-pypi.yml index cbdad39..a34d5a1 100644 --- a/.github/workflows/publish-pypi.yml +++ b/.github/workflows/publish-pypi.yml @@ -14,9 +14,9 @@ jobs: # IMPORTANT: this permission is mandatory for trusted publishing id-token: write steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v4.1.1 - name: Set up Python3 - uses: actions/setup-python@v4 + uses: actions/setup-python@v4.7.1 with: python-version: "3.x" - name: Install packaging libraries @@ -26,4 +26,4 @@ jobs: run: | python -m flit build - name: Publish distribution 📦 to PyPI - uses: pypa/gh-action-pypi-publish@release/v1 + uses: pypa/gh-action-pypi-publish@v1.8.11 diff --git a/.github/workflows/tag-testpypi.yml b/.github/workflows/tag-testpypi.yml index 036d9a1..858793f 100644 --- a/.github/workflows/tag-testpypi.yml +++ b/.github/workflows/tag-testpypi.yml @@ -13,7 +13,7 @@ jobs: if: startsWith(github.ref, 'refs/tags/v') && endsWith(github.ref, '.0') steps: - name: Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@v4.1.1 - name: Create Release uses: softprops/action-gh-release@v1 env: @@ -33,9 +33,9 @@ jobs: # IMPORTANT: this permission is mandatory for trusted publishing id-token: write steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v4.1.1 - name: Set up Python3 - uses: actions/setup-python@v4 + uses: actions/setup-python@v4.7.1 with: python-version: "3.x" - name: Install packaging libraries @@ -45,7 +45,7 @@ jobs: run: | python -m flit build - name: Publish distribution 📦 to Test PyPI - uses: pypa/gh-action-pypi-publish@release/v1 + uses: pypa/gh-action-pypi-publish@v1.8.11 with: repository_url: https://test.pypi.org/legacy/ skip_existing: true