ci: use PAT instead of github token

This commit is contained in:
Dr.Blank 2025-04-11 12:13:08 +05:30
parent 39d051746b
commit de7c3359f7
No known key found for this signature in database
GPG key ID: BA5F87FF0560C57B

View file

@ -27,8 +27,8 @@ jobs:
uses: actions/checkout@v4
with:
# Use a PAT if pushing to protected branches is restricted for GITHUB_TOKEN
# token: ${{ secrets.PAT_TOKEN }} # Create PAT with repo scope
token: ${{ secrets.GITHUB_TOKEN }}
token: ${{ secrets.PAT_TOKEN }} # Create PAT with repo scope
# token: ${{ secrets.GITHUB_TOKEN }} # this does not trigger other workflows
# Setup Flutter/Dart environment needed to run dart pub global activate
- name: Setup Flutter