File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2121 uses : DSACMS/automated-codejson-generator@sachin/autoMergeFeat
2222 with :
2323 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
24+ ADMIN_TOKEN : ${{ secrets.ADMIN_PAT }}
2425 BRANCH : " main"
26+ SKIP_PR : " true"
2527
26- - name : Print outputs
28+ - name : Post update information
2729 run : |
28- echo "Your code.json has been updated: ${{steps.generator.outputs.updated}}"
29- echo "Pull Request Link: ${{steps.generator.outputs.pr_url}}"
30+ echo "Update successful: ${{ steps.generator.outputs.updated }}"
31+ echo "Method used: ${{ steps.generator.outputs.method_used }}"
32+ if [ "${{ steps.generator.outputs.method_used }}" = "direct_push" ]; then
33+ echo "✅ Direct push successful! Commit SHA: ${{ steps.generator.outputs.commit_sha }}"
34+ elif [ "${{ steps.generator.outputs.method_used }}" = "pull_request" ]; then
35+ echo "📝 Created pull request: ${{ steps.generator.outputs.pr_url }}"
36+ fi
37+
You can’t perform that action at this time.
0 commit comments