From 35e312bfb41145fdcafe43ffe52f6808c231a360 Mon Sep 17 00:00:00 2001 From: seth Date: Mon, 10 Jul 2023 22:30:20 -0400 Subject: actions: only use github token for flake-update --- .github/workflows/update-inputs.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to '.github/workflows/update-inputs.yaml') diff --git a/.github/workflows/update-inputs.yaml b/.github/workflows/update-inputs.yaml index 0ac81a5..48535a7 100644 --- a/.github/workflows/update-inputs.yaml +++ b/.github/workflows/update-inputs.yaml @@ -6,6 +6,10 @@ on: - cron: "0 0 * * 6" workflow_dispatch: +permissions: + contents: write + pull-requests: write + jobs: update-lock: runs-on: ubuntu-latest @@ -16,5 +20,4 @@ jobs: - uses: ./.github/actions/flake-update with: commit-msg: "flake: update all inputs" - github-token: ${{ secrets.GITHUB_TOKEN }} - update-token: ${{ secrets.FLAKE_UPDATE }} + github-token: ${{ github.token }} -- cgit v1.2.3