👷 Update CI GitHub Actions to allow running in private repos (#1125)
This commit is contained in:

committed by
GitHub

parent
2e30c948cb
commit
78777ff011
2
.github/workflows/latest-changes.yml
vendored
2
.github/workflows/latest-changes.yml
vendored
@@ -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:
|
||||||
|
7
.github/workflows/smokeshow.yml
vendored
7
.github/workflows/smokeshow.yml
vendored
@@ -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:
|
||||||
|
Reference in New Issue
Block a user