File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,6 +3,8 @@ name: "Merge chapters and meetup"
33on :
44 workflow_dispatch :
55 push :
6+ branches :
7+ - " push-action/**"
68 paths :
79 - " data/chapters/"
810 schedule :
6365 - name : Pushing to the protected branch 'main'
6466 uses : CasperWA/push-protected@v2
6567 with :
66- token : ${{ secrets.push-to-protected }}
68+ token : ${{ secrets.GLOBAL_GHA_PAT }}
6769 branch : main
70+ unprotect_reviews : true
Original file line number Diff line number Diff line change 11name : Get Global Team from Airtable
22
33on :
4+ push :
5+ branches :
6+ - " push-action/**"
47 schedule :
58 - cron : " 16 16 * * 0"
69 workflow_dispatch :
4649 git config --global user.name "github-actions[bot]"
4750 git config --global user.email "github-actions[bot]@users.noreply.github.com"
4851
49- - name : Commit and Push Changes
52+ - name : Commit Changes
5053 env :
5154 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
5255 run : |
5558 git commit -m "Automated update: Update Global Team" || echo "No new data to commit"
5659
5760 - name : Pushing to the protected branch 'main'
58- if : github.ref_name == 'main'
5961 uses : CasperWA/push-protected@v2
6062 with :
61- token : ${{ secrets.push-to-protected }}
63+ token : ${{ secrets.GLOBAL_GHA_PAT }}
6264 branch : main
65+ unprotect_reviews : true
You can’t perform that action at this time.
0 commit comments