From 8b6b14ee969ccdb1681f878f1fc7f568a3bb4988 Mon Sep 17 00:00:00 2001 From: Axel Huebl Date: Thu, 30 Nov 2023 11:14:48 -0800 Subject: [PATCH] CI: Subs Workflow can read PAT --- .github/workflows/ci.yml | 2 ++ .github/workflows/stubs.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0823cd6a..914f4707 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,6 +15,8 @@ jobs: # Give the default GITHUB_TOKEN write permission to commit and push the # changed files back to the repository. contents: write + # For the person access token (PAT) to push back changes. + secrets: read uses: ./.github/workflows/stubs.yml ubuntu: diff --git a/.github/workflows/stubs.yml b/.github/workflows/stubs.yml index 65897a2c..384c4992 100644 --- a/.github/workflows/stubs.yml +++ b/.github/workflows/stubs.yml @@ -23,6 +23,8 @@ jobs: # Give the default GITHUB_TOKEN write permission to commit and push the # changed files back to the repository. contents: write + # For the person access token (PAT) to push back changes. + secrets: read steps: - uses: actions/checkout@v3