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-nixpkgs.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to '.github/workflows/update-nixpkgs.yaml') diff --git a/.github/workflows/update-nixpkgs.yaml b/.github/workflows/update-nixpkgs.yaml index 8b0ac1b..2493fd8 100644 --- a/.github/workflows/update-nixpkgs.yaml +++ b/.github/workflows/update-nixpkgs.yaml @@ -6,6 +6,10 @@ on: - cron: "0 0 * * *" workflow_dispatch: +permissions: + contents: write + pull-requests: write + jobs: update-nixpkgs: runs-on: ubuntu-latest @@ -16,6 +20,5 @@ jobs: - uses: ./.github/actions/flake-update with: commit-msg: "flake: update nixpkgs inputs" - github-token: ${{ secrets.GITHUB_TOKEN }} + github-token: ${{ github.token }} inputs: nixpkgs nixpkgs-stable - update-token: ${{ secrets.FLAKE_UPDATE }} -- cgit v1.2.3