Skip to content

Commit 0a4e05f

Browse files
Updated workflows added release workflow DEVOPS-283
1 parent 52bfe32 commit 0a4e05f

File tree

2 files changed

+34
-1
lines changed

2 files changed

+34
-1
lines changed
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
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

.github/workflows/github-create-and-add-labels-all-repos-using-python.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: github-create-and-add-labels-all-repos-using-python
22
on:
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:

0 commit comments

Comments
 (0)