Skip to content

Commit 8793989

Browse files
authored
[IDP-3130] Add scheduled stable release workflow (#85)
* [IDP-3130] Add scheduled stable release workflow * [IDP-3130] Add scheduled stable release workflow * [IDP-3311] Use IDP managed secrets solution for workflows
1 parent b2bd258 commit 8793989

3 files changed

Lines changed: 19 additions & 2 deletions

File tree

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: Create stable release
2+
3+
on:
4+
schedule:
5+
- cron: "0 3 * * 0" # At 03:00 on Sunday
6+
workflow_dispatch:
7+
8+
jobs:
9+
create-release:
10+
permissions:
11+
contents: write
12+
id-token: write
13+
uses: workleap/wl-reusable-workflows/.github/workflows/create-stable-release.yml@main

.github/workflows/jira.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,6 @@ jobs:
1010
uses: workleap/wl-reusable-workflows/.github/workflows/reusable-jira-workflow.yml@main
1111
with:
1212
branch_name: ${{ github.head_ref }}
13-
secrets: inherit
13+
permissions:
14+
contents: read
15+
id-token: write

.github/workflows/publish.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,6 @@ jobs:
4040
uses: workleap/wl-reusable-workflows/.github/workflows/linearb-deployment.yml@main
4141
with:
4242
environment: "release"
43-
secrets: inherit
43+
permissions:
44+
id-token: write
45+
contents: read

0 commit comments

Comments
 (0)