Skip to content

Commit

Permalink
Bump actions/checkout from 2 to 3
Browse files Browse the repository at this point in the history
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
  • Loading branch information
dependabot[bot] authored and cmuench committed Apr 29, 2022
1 parent 9f96112 commit 0c7d85a
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ jobs:
runs-on: 'ubuntu-18.04'
steps:
- name: Checkout PR
uses: actions/checkout@v2
uses: actions/checkout@v3
if: github.event_name == 'pull_request_target'
with:
ref: ${{ github.event.pull_request.head.sha }}

- name: Checkout HEAD
uses: actions/checkout@v2
uses: actions/checkout@v3
if: github.event_name == 'push'

- uses: symfonycorp/security-checker-action@v3
Expand Down Expand Up @@ -75,13 +75,13 @@ jobs:

steps:
- name: Checkout PR
uses: actions/checkout@v2
uses: actions/checkout@v3
if: github.event_name == 'pull_request_target'
with:
ref: ${{ github.event.pull_request.head.sha }}

- name: Checkout HEAD
uses: actions/checkout@v2
uses: actions/checkout@v3
if: github.event_name == 'push'

- uses: shivammathur/setup-php@v2
Expand All @@ -103,13 +103,13 @@ jobs:
- {name: mysqld,shell: bash,run: 'sudo systemctl start mysql.service'}

- name: Checkout PR
uses: actions/checkout@v2
uses: actions/checkout@v3
if: github.event_name == 'pull_request_target'
with:
ref: ${{ github.event.pull_request.head.sha }}

- name: Checkout HEAD
uses: actions/checkout@v2
uses: actions/checkout@v3
if: github.event_name == 'push'

- uses: actions/cache@v3
Expand Down Expand Up @@ -140,14 +140,14 @@ jobs:
- {name: mysqld,shell: bash,run: 'sudo systemctl start mysql.service'}

- name: Checkout PR
uses: actions/checkout@v2
uses: actions/checkout@v3
if: github.event_name == 'pull_request_target'
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.sha }}

- name: Checkout HEAD
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
if: github.event_name == 'push'
Expand Down

0 comments on commit 0c7d85a

Please sign in to comment.