ci: pin version of actions/checkout (#36342)
This commit is contained in:
parent
05577d0903
commit
9f8308907b
1 changed files with 2 additions and 2 deletions
|
@ -11,7 +11,7 @@ jobs:
|
||||||
check_tag:
|
check_tag:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # tag: v3
|
||||||
- name: Check Tag
|
- name: Check Tag
|
||||||
run: |
|
run: |
|
||||||
if [[ ${{ github.event.release.tag_name }} =~ ^v[0-9]+\.0\.0$ ]]; then
|
if [[ ${{ github.event.release.tag_name }} =~ ^v[0-9]+\.0\.0$ ]]; then
|
||||||
|
@ -22,7 +22,7 @@ jobs:
|
||||||
needs: check_tag
|
needs: check_tag
|
||||||
if: needs.check_tag.outputs.should_release == 'true'
|
if: needs.check_tag.outputs.should_release == 'true'
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # tag: v3
|
||||||
- name: Trigger New chromedriver Release
|
- name: Trigger New chromedriver Release
|
||||||
run: |
|
run: |
|
||||||
gh api /repos/:owner/chromedriver/actions/workflows/release.yml/dispatches --input - <<< '{"ref":"main","inputs":{"version":"${{ github.event.release.tag_name }}"}}'
|
gh api /repos/:owner/chromedriver/actions/workflows/release.yml/dispatches --input - <<< '{"ref":"main","inputs":{"version":"${{ github.event.release.tag_name }}"}}'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue