From 8d222d05274a8a03e2c3dc683a2281bfdc0aa71d Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 22 Jun 2024 18:55:38 +0000 Subject: [PATCH 1/2] CI(deps): Pin dependencies --- .github/workflows/ci.yml | 10 +++++----- .github/workflows/flake8.yml | 4 ++-- .github/workflows/super-linter.yml | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 787b039762..3c40c2dc3f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -38,14 +38,14 @@ jobs: steps: - name: Checkout core - uses: actions/checkout@v4 # v4.1.7 + uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 with: repository: OSGeo/grass ref: ${{ matrix.grass-version }} path: grass - name: Checkout addons - uses: actions/checkout@v4 # v4.1.7 + uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 with: path: grass-addons @@ -57,7 +57,7 @@ jobs: sudo apt-get install -y --no-install-recommends --no-install-suggests - name: Set up Python ${{ matrix.python-version }} as default Python - uses: actions/setup-python@v5 # v5.1.0 + uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5 with: python-version: ${{ matrix.python-version }} @@ -105,7 +105,7 @@ jobs: pip install -r grass-addons/.github/workflows/extra_requirements.txt - name: Set up R - uses: r-lib/actions/setup-r@v2 # v2.9.0 + uses: r-lib/actions/setup-r@929c772977a3a13c8733b363bf5a2f685c25dd91 # v2 with: r-version: 4.2.1 @@ -119,7 +119,7 @@ jobs: ../.github/workflows/test.sh - name: Make HTML test report available - uses: actions/upload-artifact@v4 # v4.3.3 + uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4 with: name: testreport-grass-${{ matrix.grass-version }}-python-${{ matrix.python-version }} path: grass-addons/src/testreport diff --git a/.github/workflows/flake8.yml b/.github/workflows/flake8.yml index 4aedda802d..68c31c8b0f 100644 --- a/.github/workflows/flake8.yml +++ b/.github/workflows/flake8.yml @@ -26,10 +26,10 @@ jobs: runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v4 # v4.1.7 + - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 - name: Set up Python - uses: actions/setup-python@v5 # v5.1.0 + uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5 with: python-version: ${{ env.PYTHON_VERSION }} diff --git a/.github/workflows/super-linter.yml b/.github/workflows/super-linter.yml index bfc98342c9..70042eb67d 100644 --- a/.github/workflows/super-linter.yml +++ b/.github/workflows/super-linter.yml @@ -32,7 +32,7 @@ jobs: # list of files that changed across commits fetch-depth: 0 - name: Lint code base - uses: super-linter/super-linter@v6.6.0 # v6.6.0 + uses: super-linter/super-linter@88ea3923a7e1f89dd485d079f6eb5f5e8f937589 # v6.6.0 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} FILTER_REGEX_EXCLUDE: ".*/src/gui/wxpython/wx.metadata/profiles/.*.xml" From 883e6a070c2cb8b61140c1328805dd8540565b93 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edouard=20Choini=C3=A8re?= <27212526+echoix@users.noreply.github.com> Date: Sat, 22 Jun 2024 15:15:31 -0400 Subject: [PATCH 2/2] Apply suggestions from code review --- .github/workflows/ci.yml | 10 +++++----- .github/workflows/flake8.yml | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3c40c2dc3f..a58d322258 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -38,14 +38,14 @@ jobs: steps: - name: Checkout core - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 + uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 with: repository: OSGeo/grass ref: ${{ matrix.grass-version }} path: grass - name: Checkout addons - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 + uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 with: path: grass-addons @@ -57,7 +57,7 @@ jobs: sudo apt-get install -y --no-install-recommends --no-install-suggests - name: Set up Python ${{ matrix.python-version }} as default Python - uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5 + uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0 with: python-version: ${{ matrix.python-version }} @@ -105,7 +105,7 @@ jobs: pip install -r grass-addons/.github/workflows/extra_requirements.txt - name: Set up R - uses: r-lib/actions/setup-r@929c772977a3a13c8733b363bf5a2f685c25dd91 # v2 + uses: r-lib/actions/setup-r@929c772977a3a13c8733b363bf5a2f685c25dd91 # v2.9.0 with: r-version: 4.2.1 @@ -119,7 +119,7 @@ jobs: ../.github/workflows/test.sh - name: Make HTML test report available - uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4 + uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3 with: name: testreport-grass-${{ matrix.grass-version }}-python-${{ matrix.python-version }} path: grass-addons/src/testreport diff --git a/.github/workflows/flake8.yml b/.github/workflows/flake8.yml index 68c31c8b0f..bd1370ea63 100644 --- a/.github/workflows/flake8.yml +++ b/.github/workflows/flake8.yml @@ -26,10 +26,10 @@ jobs: runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 + - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 - name: Set up Python - uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5 + uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0 with: python-version: ${{ env.PYTHON_VERSION }}