👷 Update CI GitHub Actions to allow running in private repos (#1125)

This commit is contained in:
Sebastián Ramírez
2024-03-25 15:34:05 -05:00
committed by GitHub
parent 2e30c948cb
commit 78777ff011
2 changed files with 6 additions and 3 deletions

View File

@@ -19,6 +19,8 @@ on:
jobs: jobs:
latest-changes: latest-changes:
runs-on: ubuntu-latest runs-on: ubuntu-latest
permissions:
pull-requests: read
steps: steps:
- name: Dump GitHub context - name: Dump GitHub context
env: env:

View File

@@ -5,13 +5,13 @@ on:
workflows: [Test] workflows: [Test]
types: [completed] types: [completed]
permissions:
statuses: write
jobs: jobs:
smokeshow: smokeshow:
if: ${{ github.event.workflow_run.conclusion == 'success' }} if: ${{ github.event.workflow_run.conclusion == 'success' }}
runs-on: ubuntu-latest runs-on: ubuntu-latest
permissions:
actions: read
statuses: write
steps: steps:
- uses: actions/setup-python@v5 - uses: actions/setup-python@v5
@@ -24,6 +24,7 @@ jobs:
with: with:
workflow: test.yml workflow: test.yml
commit: ${{ github.event.workflow_run.head_sha }} commit: ${{ github.event.workflow_run.head_sha }}
github_token: ${{ secrets.GITHUB_TOKEN }}
- run: smokeshow upload coverage-html - run: smokeshow upload coverage-html
env: env: