File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 4040
4141 - name : Initialize if first run
4242 env :
43- OCTOCAT_TOKEN : ${{ secrets.GITHUB_PAT }} # <-- Changed here
43+ OCTOCAT_TOKEN : ${{ secrets.OCTOCAT_TOKEN }}
4444 run : |
4545 if [ ! -f ~/.gitfollow/snapshots.json ]; then
4646 echo "First run - initializing..."
@@ -50,14 +50,13 @@ jobs:
5050 - name : Check for changes
5151 id : check
5252 env :
53- OCTOCAT_TOKEN : ${{ secrets.GITHUB_PAT }} # <-- Changed here
53+ OCTOCAT_TOKEN : ${{ secrets.OCTOCAT_TOKEN }}
5454 run : |
5555 OUTPUT=$(gitfollow check --json 2>&1)
5656 echo "$OUTPUT"
5757 echo "output<<EOF" >> $GITHUB_OUTPUT
5858 echo "$OUTPUT" >> $GITHUB_OUTPUT
5959 echo "EOF" >> $GITHUB_OUTPUT
60- # Check if there are changes
6160 if echo "$OUTPUT" | jq -e '.has_changes == true' > /dev/null 2>&1; then
6261 echo "has_changes=true" >> $GITHUB_OUTPUT
6362 else
7574 - name : Generate and upload report
7675 if : always()
7776 env :
78- OCTOCAT_TOKEN : ${{ secrets.GITHUB_PAT }} # <-- Changed here
77+ OCTOCAT_TOKEN : ${{ secrets.OCTOCAT_TOKEN }}
7978 run : |
8079 gitfollow report --format=markdown --output=follower-report.md
8180
You can’t perform that action at this time.
0 commit comments