From 78777ff011c95c334841c75dadfc0f8e550300f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebasti=C3=A1n=20Ram=C3=ADrez?= Date: Mon, 25 Mar 2024 15:34:05 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=20Update=20CI=20GitHub=20Actions?= =?UTF-8?q?=20to=20allow=20running=20in=20private=20repos=20(#1125)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/latest-changes.yml | 2 ++ .github/workflows/smokeshow.yml | 7 ++++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/latest-changes.yml b/.github/workflows/latest-changes.yml index 6ed1cb6..759ee80 100644 --- a/.github/workflows/latest-changes.yml +++ b/.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: diff --git a/.github/workflows/smokeshow.yml b/.github/workflows/smokeshow.yml index fd796a9..088eeac 100644 --- a/.github/workflows/smokeshow.yml +++ b/.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: