mirror of
https://github.com/github/codeql-action.git
synced 2026-10-03 17:41:28 +00:00
Bumps [actions/checkout](https://github.com/actions/checkout) from 6.0.3 to 7.0.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](df4cb1c069...9c091bb21b)
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: 7.0.0
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
34 lines
1.0 KiB
YAML
34 lines
1.0 KiB
YAML
name: Check Expected Release Files
|
|
|
|
on:
|
|
pull_request:
|
|
paths:
|
|
- .github/workflows/check-expected-release-files.yml
|
|
- src/defaults.json
|
|
|
|
concurrency:
|
|
cancel-in-progress: ${{ github.event_name == 'pull_request' || false }}
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
|
|
defaults:
|
|
run:
|
|
shell: bash
|
|
|
|
jobs:
|
|
check-expected-release-files:
|
|
runs-on: ubuntu-slim
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
steps:
|
|
- name: Checkout CodeQL Action
|
|
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
|
- name: Check Expected Release Files
|
|
run: |
|
|
bundle_version="$(cat "./src/defaults.json" | jq -r ".bundleVersion")"
|
|
set -x
|
|
for expected_file in "codeql-bundle.tar.gz" "codeql-bundle-linux64.tar.gz" "codeql-bundle-osx64.tar.gz" "codeql-bundle-win64.tar.gz"; do
|
|
curl --location --fail --head --request GET "https://github.com/github/codeql-action/releases/download/$bundle_version/$expected_file" > /dev/null
|
|
done
|