From e456094e4c7902aa6e7e3fd3ce8c00abbda51f13 Mon Sep 17 00:00:00 2001 From: andatoshiki Date: Tue, 28 Mar 2023 19:15:16 +0800 Subject: [PATCH] ci: revoke github token and uses personal access token also remove push scope for trigger --- .github/workflows/rss.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/rss.yml b/.github/workflows/rss.yml index 70c2cf4..aae3e6b 100644 --- a/.github/workflows/rss.yml +++ b/.github/workflows/rss.yml @@ -1,7 +1,7 @@ name: Update RSS feeds on README section on: - push: + # push: workflow_dispatch: # allow users to randomly trigger workflows for debugging schedule: - cron: '0 * * * *' # workflow run per 24 hours @@ -13,7 +13,7 @@ jobs: - name: Check out the latest commit of the repository history uses: actions/checkout@v2 with: - token: ${{ secrets.GITHUB_TOKEN }} + token: ${{ secrets.GH_PAT }} - name: Set up node environment uses: actions/setup-node@v3 with: