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/[email protected]
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 1
1
name : github-create-and-add-labels-all-repos-using-python
2
2
on :
3
3
schedule :
4
- - cron : " 0 9 * * 2 " # runs weekly at 9 AM on Tuesday
4
+ - cron : " 0 9 * * * " # runs daily at 9 AM utc
5
5
workflow_dispatch :
6
6
inputs :
7
7
organizarion :
You can’t perform that action at this time.
0 commit comments