Skip to content

Commit

Permalink
Merge pull request #8285 from OpenMined/dependabot/github_actions/act…
Browse files Browse the repository at this point in the history
…ions/checkout-4

Bump actions/checkout from 3 to 4
  • Loading branch information
madhavajay authored Nov 27, 2023
2 parents 8a781fb + 61f33c7 commit 52358b8
Show file tree
Hide file tree
Showing 17 changed files with 39 additions and 39 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cd-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
python-version: ["3.11"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cd-hagrid.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
current_hash: ${{ steps.get_hash.outputs.current_hash }}
previous_hash: ${{ steps.get_hash.outputs.previous_hash }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
token: ${{ secrets.SYFT_BOT_COMMIT_TOKEN }}
- name: Install checksumdir
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/cd-syft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
grid_version: ${{ steps.release_metadata.outputs.grid_version }}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

# actions/setup-python doesn't yet support ARM
- name: Setup Python on x64
Expand Down Expand Up @@ -225,7 +225,7 @@ jobs:
run: |
sudo chown -R $USER:$USER $HOME
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
token: ${{ secrets.SYFT_BOT_COMMIT_TOKEN }}

Expand Down Expand Up @@ -341,7 +341,7 @@ jobs:
# Checkout Infra repo (nested)
- name: Checkout Infra Repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: ${{ secrets.INFRA_REPO }}
ref: "main"
Expand Down Expand Up @@ -389,7 +389,7 @@ jobs:

# Checkout to gh-pages and update helm repo
- name: Checkout to gh-pages
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: gh-pages
token: ${{ secrets.SYFT_BOT_COMMIT_TOKEN }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/cd-syftcli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
previous_hash: ${{ steps.get-hashes.outputs.previous_hash }}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
token: ${{ secrets.SYFT_BOT_COMMIT_TOKEN }}

Expand Down Expand Up @@ -112,7 +112,7 @@ jobs:
runs-on: ${{matrix.os}}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v3
Expand Down Expand Up @@ -148,7 +148,7 @@ jobs:
contents: write # For tag and release notes.

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Deployed Version
run: echo ${{needs.deploy-syft-cli.outputs.deployed_version}}
Expand Down
22 changes: 11 additions & 11 deletions .github/workflows/container-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
actions: read # only required for a private repository by github/codeql-action/upload-sarif to get the Action run status
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

# free 10GB of space
- name: Remove unnecessary files
Expand Down Expand Up @@ -57,7 +57,7 @@ jobs:
actions: read # only required for a private repository by github/codeql-action/upload-sarif to get the Action run status
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Snyk CLI to check for security issues
# Snyk can be used to break the build when it detects security issues.
# In this case we want to upload the SAST issues to GitHub Code Scanning
Expand Down Expand Up @@ -110,7 +110,7 @@ jobs:
actions: read # only required for a private repository by github/codeql-action/upload-sarif to get the Action run status
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

# Build the docker image for testing
- name: Build a Docker image
Expand Down Expand Up @@ -141,7 +141,7 @@ jobs:
actions: read # only required for a private repository by github/codeql-action/upload-sarif to get the Action run status
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Snyk CLI to check for security issues
# Snyk can be used to break the build when it detects security issues.
# In this case we want to upload the SAST issues to GitHub Code Scanning
Expand Down Expand Up @@ -184,7 +184,7 @@ jobs:
actions: read # only required for a private repository by github/codeql-action/upload-sarif to get the Action run status
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v3
Expand Down Expand Up @@ -231,7 +231,7 @@ jobs:
actions: read # only required for a private repository by github/codeql-action/upload-sarif to get the Action run status
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

#Generate SBOM
- name: Run Trivy vulnerability scanner
Expand Down Expand Up @@ -273,7 +273,7 @@ jobs:
actions: read # only required for a private repository by github/codeql-action/upload-sarif to get the Action run status
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Snyk CLI to check for security issues
# Snyk can be used to break the build when it detects security issues.
# In this case we want to upload the SAST issues to GitHub Code Scanning
Expand Down Expand Up @@ -310,7 +310,7 @@ jobs:
actions: read # only required for a private repository by github/codeql-action/upload-sarif to get the Action run status
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

#Generate SBOM
- name: Run Trivy vulnerability scanner
Expand Down Expand Up @@ -352,7 +352,7 @@ jobs:
actions: read # only required for a private repository by github/codeql-action/upload-sarif to get the Action run status
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Snyk CLI to check for security issues
# Snyk can be used to break the build when it detects security issues.
# In this case we want to upload the SAST issues to GitHub Code Scanning
Expand Down Expand Up @@ -389,7 +389,7 @@ jobs:
actions: read # only required for a private repository by github/codeql-action/upload-sarif to get the Action run status
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

#Generate SBOM
- name: Run Trivy vulnerability scanner
Expand Down Expand Up @@ -431,7 +431,7 @@ jobs:
actions: read # only required for a private repository by github/codeql-action/upload-sarif to get the Action run status
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Snyk CLI to check for security issues
# Snyk can be used to break the build when it detects security issues.
# In this case we want to upload the SAST issues to GitHub Code Scanning
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/manual-delete-buildjet-cache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- uses: buildjet/cache-delete@v1
with:
cache_key: ${{ inputs.cache_key }}
2 changes: 1 addition & 1 deletion .github/workflows/post-merge-tasks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
post-merge-cleanup-notebooks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
token: ${{ secrets.SYFT_BOT_COMMIT_TOKEN }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-tests-enclave.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:

runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

# free 10GB of space
- name: Remove unnecessary files
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pr-tests-frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:

runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Check for file changes
uses: dorny/paths-filter@v2
Expand Down Expand Up @@ -98,7 +98,7 @@ jobs:

runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

# free 10GB of space
- name: Remove unnecessary files
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-tests-hagrid.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:

runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Check for file changes
uses: dorny/paths-filter@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-tests-linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
python-version: ["3.11"]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-tests-stack-arm64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
# run: |
# sudo chown -R $USER:$USER ~/actions-runner/_work/

- uses: actions/checkout@v3
- uses: actions/checkout@v4

# free 10GB of space
- name: Remove unnecessary files
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-tests-stack-public.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
echo "deleting ${GITHUB_WORKSPACE}/.git/config"
rm ${GITHUB_WORKSPACE}/.git/config
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Check for file changes
uses: dorny/paths-filter@v2
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/pr-tests-stack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
# echo "deleting ${GITHUB_WORKSPACE}/.git/config"
# rm ${GITHUB_WORKSPACE}/.git/config

- uses: actions/checkout@v3
- uses: actions/checkout@v4

# free 10GB of space
- name: Remove unnecessary files
Expand Down Expand Up @@ -248,7 +248,7 @@ jobs:
runs-on: ${{matrix.os}}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Check for file changes
uses: dorny/paths-filter@v2
Expand Down Expand Up @@ -320,7 +320,7 @@ jobs:
echo "deleting ${GITHUB_WORKSPACE}/.git/config"
rm ${GITHUB_WORKSPACE}/.git/config
- uses: actions/checkout@v3
- uses: actions/checkout@v4

# free 10GB of space
- name: Remove unnecessary files
Expand Down Expand Up @@ -527,7 +527,7 @@ jobs:
- name: Permission to home directory
run: |
sudo chown -R $USER:$USER $HOME
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Check for file changes
uses: dorny/paths-filter@v2
id: changes
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/pr-tests-syft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
echo "deleting ${GITHUB_WORKSPACE}/.git/config"
rm ${GITHUB_WORKSPACE}/.git/config
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Check for file changes
uses: dorny/paths-filter@v2
Expand Down Expand Up @@ -131,7 +131,7 @@ jobs:
echo "deleting ${GITHUB_WORKSPACE}/.git/config"
rm ${GITHUB_WORKSPACE}/.git/config
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Check for file changes
uses: dorny/paths-filter@v2
Expand Down Expand Up @@ -201,7 +201,7 @@ jobs:
# if: matrix.os == 'ubuntu-latest'
# run: |
# sudo chown -R $USER:$USER $HOME
- uses: actions/checkout@v3
- uses: actions/checkout@v4

# free 10GB of space
- name: Remove unnecessary files
Expand Down Expand Up @@ -310,7 +310,7 @@ jobs:
# if: matrix.os == 'ubuntu-latest'
# run: |
# sudo chown -R $USER:$USER $HOME
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Check for file changes
uses: dorny/paths-filter@v2
id: changes
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/rhel-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
run: |
sudo chown -R $USER:$USER ~/actions-runner/_work/
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: check python version
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/vm-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
runs-on: ${{matrix.os}}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Check for file changes
uses: dorny/paths-filter@v2
Expand Down

0 comments on commit 52358b8

Please sign in to comment.