Skip to content

Commit

Permalink
added security label
Browse files Browse the repository at this point in the history
  • Loading branch information
Bullrich committed Aug 16, 2024
1 parent 280bbad commit 9e98f54
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions .github/workflows/cargo-check-each-crate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,12 @@ concurrency:
cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}

jobs:
set-image:
runs-on: ubuntu-latest
outputs:
IMAGE: ${{ steps.set_image.outputs.IMAGE }}
steps:
- name: Checkout
uses: actions/checkout@v4
- id: set_image
run: cat .github/env >> $GITHUB_OUTPUT
cargo-check-each-crate-macos:
# GitHub Actions allows using 'env' in a container context.
# However, env variables don't work for forks: https://github.com/orgs/community/discussions/44322
# This workaround sets the container image for each job using 'set-image' job output.
# TODO: remove once migration is complete or this workflow is fully stable
if: contains(github.event.label.name, 'GHA-migration') || contains(github.event.pull_request.labels.*.name, 'GHA-migration')
runs-on: macos-latest-large
steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit 9e98f54

Please sign in to comment.