Try with removing contents permission so that nested jobs can overrid… #730
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Smoke test "ruby" build | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
pull_request: | |
paths: | |
- src/ruby/** | |
- .github/workflows/smoke-ruby.yaml | |
- .github/actions/** | |
- build/** | |
jobs: | |
smoke-test: | |
name: Smoke test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
id: checkout | |
uses: actions/checkout@v3 | |
- name: Smoke test | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
id: smoke_test | |
uses: ./.github/actions/smoke-test | |
with: | |
image: ruby |