File tree Expand file tree Collapse file tree 2 files changed +34
-1
lines changed Expand file tree Collapse file tree 2 files changed +34
-1
lines changed Original file line number Diff line number Diff line change 1+ name : create release on labels automation repo
2+
3+ on :
4+ pull_request :
5+ types :
6+ - closed
7+ branches :
8+ - main
9+ run-name : create release from pr number ${{ github.event.number }}
10+ jobs :
11+ create-release :
12+ runs-on : ubuntu-latest
13+
14+ steps :
15+
16+ - name : Token generator
17+ uses : githubofkrishnadhas/github-access-using-githubapp@v2
18+ id : token-generation
19+ with :
20+ github_app_id : ${{ secrets.TOKEN_GENERATOR_APPID }}
21+ github_app_private_key : ${{ secrets.TOKEN_GENERATOR_PRIVATE_KEY }}
22+
23+ - name : Checkout Repository
24+ uses : actions/checkout@v4
25+ with :
26+ token : ${{ steps.token-generation.outputs.token }}
27+
28+ - name : create-release
29+ uses : devwithkrishna/devwithkrishna-create-release-action@v1.0.1
30+ with :
31+ token : ${{ steps.token-generation.outputs.token }}
32+ pr_number : ${{ github.event.number }}
33+ generate_release_notes : true
Original file line number Diff line number Diff line change 11name : github-create-and-add-labels-all-repos-using-python
22on :
33 schedule :
4- - cron : " 0 9 * * 2 " # runs weekly at 9 AM on Tuesday
4+ - cron : " 0 9 * * * " # runs daily at 9 AM utc
55 workflow_dispatch :
66 inputs :
77 organizarion :
You can’t perform that action at this time.
0 commit comments