ci: revoke github token and uses personal access token also remove push scope for trigger
This commit is contained in:
parent
3042ded78b
commit
e456094e4c
4
.github/workflows/rss.yml
vendored
4
.github/workflows/rss.yml
vendored
@ -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:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user