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
|
name: Update RSS feeds on README section
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
# push:
|
||||||
workflow_dispatch: # allow users to randomly trigger workflows for debugging
|
workflow_dispatch: # allow users to randomly trigger workflows for debugging
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 * * * *' # workflow run per 24 hours
|
- cron: '0 * * * *' # workflow run per 24 hours
|
||||||
@ -13,7 +13,7 @@ jobs:
|
|||||||
- name: Check out the latest commit of the repository history
|
- name: Check out the latest commit of the repository history
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GH_PAT }}
|
||||||
- name: Set up node environment
|
- name: Set up node environment
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user