From c57a0b150cf869d13db05b2814a224e0cd0528eb Mon Sep 17 00:00:00 2001 From: "update-github-actions[bot]" Date: Thu, 1 Feb 2024 01:00:31 +0000 Subject: [PATCH] Update GitHub Action Versions --- .github/workflows/bump-version.yml | 6 +++--- .github/workflows/first_pull_request.yml | 2 +- .github/workflows/main.yml | 10 +++++----- .github/workflows/publish-pypi.yml | 6 +++--- .github/workflows/tag-testpypi.yml | 8 ++++---- 5 files changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/workflows/bump-version.yml b/.github/workflows/bump-version.yml index 5b5f67e2..7f0e7a60 100644 --- a/.github/workflows/bump-version.yml +++ b/.github/workflows/bump-version.yml @@ -38,10 +38,10 @@ jobs: actions: read contents: write steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v4.1.1 with: persist-credentials: false - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5.0.0 with: python-version: "3.9" - name: Config Commit Bot @@ -57,7 +57,7 @@ jobs: bump-my-version bump --tag patch echo "new_version=$(grep -E '__version__' xhydro/__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.BUMP_VERSION_TOKEN }} diff --git a/.github/workflows/first_pull_request.yml b/.github/workflows/first_pull_request.yml index 1450d3c3..22a18751 100644 --- a/.github/workflows/first_pull_request.yml +++ b/.github/workflows/first_pull_request.yml @@ -16,7 +16,7 @@ jobs: contents: read pull-requests: write 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/main.yml b/.github/workflows/main.yml index d9a0ac2c..2e44db24 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.1 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@v5.0.0 with: python-version: ${{ matrix.python-version }} - name: Install tox @@ -53,9 +53,9 @@ 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 + uses: mamba-org/setup-micromamba@v1.8.0 with: cache-downloads: true environment-file: environment-dev.yml diff --git a/.github/workflows/publish-pypi.yml b/.github/workflows/publish-pypi.yml index a991ece7..9e42f6ef 100644 --- a/.github/workflows/publish-pypi.yml +++ b/.github/workflows/publish-pypi.yml @@ -17,9 +17,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@v5.0.0 with: python-version: "3.9" - name: Install packaging libraries @@ -29,4 +29,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 45e68bcb..520aed96 100644 --- a/.github/workflows/tag-testpypi.yml +++ b/.github/workflows/tag-testpypi.yml @@ -17,7 +17,7 @@ jobs: contents: write steps: - name: Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@v4.1.1 - name: Create Release uses: softprops/action-gh-release@v1 env: @@ -37,9 +37,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@v5.0.0 with: python-version: "3.9" - name: Install packaging libraries @@ -49,7 +49,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