Browse Source

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

pull/13907/head
Sebastián Ramírez 1 year ago
committed by GitHub
parent
commit
78777ff011
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      .github/workflows/latest-changes.yml
  2. 7
      .github/workflows/smokeshow.yml

2
.github/workflows/latest-changes.yml

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

7
.github/workflows/smokeshow.yml

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

Loading…
Cancel
Save