Skip to content

Commit 9a22077

Browse files
committed
Fix permissions and adapt workflow triggers
1 parent 57921bd commit 9a22077

File tree

3 files changed

+2
-36
lines changed

3 files changed

+2
-36
lines changed

.github/workflows/dev-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
name: 'Ionic Dev Build'
22

33
on:
4-
workflow_dispatch:
54
workflow_call:
65

76
permissions:
@@ -30,6 +29,7 @@ jobs:
3029
release-ionic:
3130
needs: [create-dev-hash]
3231
permissions:
32+
contents: read
3333
id-token: write
3434
uses: ./.github/workflows/release-ionic.yml
3535
with:

.github/workflows/nightly.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
name: 'Ionic Nightly Build'
22

33
on:
4-
schedule:
5-
# Run every Monday-Friday
6-
# at 6:00 UTC (6:00 am UTC)
7-
- cron: '00 06 * * 1-5'
84
workflow_call:
95

106
permissions:
@@ -35,6 +31,7 @@ jobs:
3531
release-ionic:
3632
needs: [create-nightly-hash]
3733
permissions:
34+
contents: read
3835
id-token: write
3936
uses: ./.github/workflows/release-ionic.yml
4037
with:

.github/workflows/release.yml

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,6 @@
11
name: 'Ionic Production Release'
22

33
on:
4-
workflow_dispatch:
5-
inputs:
6-
version:
7-
required: true
8-
type: choice
9-
description: Which version should be published?
10-
options:
11-
- patch
12-
- minor
13-
- major
14-
- prepatch
15-
- preminor
16-
- premajor
17-
- prerelease
18-
tag:
19-
required: true
20-
type: choice
21-
description: Which npm tag should this be published to?
22-
options:
23-
- latest
24-
- next
25-
preid:
26-
type: choice
27-
description: Which prerelease identifier should be used? This is only needed when version is "prepatch", "preminor", "premajor", or "prerelease".
28-
default: ''
29-
options:
30-
- ''
31-
- alpha
32-
- beta
33-
- rc
34-
- next
354
workflow_call:
365
inputs:
376
version:

0 commit comments

Comments
 (0)