Skip to content

Commit

Permalink
Update actions/checkout action (#1764)
Browse files Browse the repository at this point in the history
Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
  • Loading branch information
bcgov-wps and renovate-bot authored Mar 7, 2022
1 parent 6ec13ac commit 6a18081
Show file tree
Hide file tree
Showing 8 changed files with 21 additions and 21 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cleanup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
echo "SUFFIX=pr-${{ github.event.number }}" >> $GITHUB_ENV
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Clean up api - dev (OCP4)
shell: bash
Expand Down Expand Up @@ -49,7 +49,7 @@ jobs:
echo "SUFFIX=pr-${{ github.event.number }}" >> $GITHUB_ENV
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Clean up dev database
shell: bash
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
echo "SUFFIX=pr-${{ github.event.number }}" >> $GITHUB_ENV
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Deploy PostGIS instance
shell: bash
Expand All @@ -35,7 +35,7 @@ jobs:
echo "SUFFIX=pr-${{ github.event.number }}" >> $GITHUB_ENV
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Postgres Backup Cronjob
shell: bash
Expand Down Expand Up @@ -65,7 +65,7 @@ jobs:
echo "SUFFIX=pr-${{ github.event.number }}" >> $GITHUB_ENV
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Build Image
shell: bash
Expand All @@ -84,7 +84,7 @@ jobs:
echo "SUFFIX=pr-${{ github.event.number }}" >> $GITHUB_ENV
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Deploy to Dev
shell: bash
Expand Down Expand Up @@ -149,7 +149,7 @@ jobs:
run: echo "SUFFIX=pr-${{ github.event.number }}" >> $GITHUB_ENV

- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Build Image
shell: bash
Expand All @@ -172,7 +172,7 @@ jobs:
run: echo "SUFFIX=pr-${{ github.event.number }}" >> $GITHUB_ENV

- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: C-Haines Cronjob
shell: bash
Expand All @@ -190,7 +190,7 @@ jobs:
echo "SUFFIX=pr-${{ github.event.number }}" >> $GITHUB_ENV
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Deploy PostGIS instance
shell: bash
Expand All @@ -209,7 +209,7 @@ jobs:
echo "SUFFIX=pr-${{ github.event.number }}" >> $GITHUB_ENV
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Deploy to Test
shell: bash
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
RENV_PATHS_ROOT: ~/.local/share/renv
steps:
- name: Checkout repo
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
# For sonar-scanner to work properly we can't use a shallow fetch.
fetch-depth: 0
Expand Down Expand Up @@ -128,7 +128,7 @@ jobs:
node-version: [14.x]
steps:
- name: Checkout repo
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
# For sonar-scanner to work properly we can't use a shallow fetch.
fetch-depth: 0
Expand Down Expand Up @@ -176,7 +176,7 @@ jobs:
steps:
# we need to checkout, so that we have codecov.yml
- name: Checkout repo
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Download all workflow run artifacts
uses: actions/download-artifact@v2
- name: Upload test coverage to Codecov
Expand All @@ -193,7 +193,7 @@ jobs:
python-version: [3.6.15]
steps:
- name: Checkout repo
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
# For sonar-scanner to work properly we can't use a shallow fetch.
fetch-depth: 0
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/post_merge_integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
RENV_PATHS_ROOT: ~/.local/share/renv
steps:
- name: Checkout repo
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
# For sonar-scanner to work properly we can't use a shallow fetch.
fetch-depth: 0
Expand Down Expand Up @@ -132,7 +132,7 @@ jobs:
node-version: [14.x]
steps:
- name: Checkout repo
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
# For sonar-scanner to work properly we can't use a shallow fetch.
fetch-depth: 0
Expand Down Expand Up @@ -180,7 +180,7 @@ jobs:
steps:
# we need to checkout, so that we have codecov.yml
- name: Checkout repo
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Download all workflow run artifacts
uses: actions/download-artifact@v2
- name: Upload test coverage to Codecov
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr_description.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
name: Set pull request description
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set description
uses: actions/github-script@v6
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
// find an open PR (potentially problematic if you have multiple PR's on the same hash open!)
const pr = pulls.data.find( ({state}) => state === 'open')
core.exportVariable('SUFFIX', `pr-${pr.number}`);
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Provision to production
run: |
echo Login
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/renovate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
LOG_LEVEL: debug
steps:
- name: Checkout
uses: actions/checkout@v2.4.0
uses: actions/checkout@v3.0.0
- name: Self-hosted Renovate
uses: renovatebot/github-action@v31.81.3
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/zap_scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
name: Scan the web application in OCP4
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
ref: main
- name: ZAP Scan
Expand Down

0 comments on commit 6a18081

Please sign in to comment.