Skip to content

Commit 0384b6a

Browse files
authored
Merge 6c00785 into 46ea679
2 parents 46ea679 + 6c00785 commit 0384b6a

File tree

3 files changed

+12
-14
lines changed

3 files changed

+12
-14
lines changed

.github/workflows/check.yaml

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -64,21 +64,17 @@ jobs:
6464

6565
comment:
6666
runs-on: ubuntu-latest
67-
needs:
68-
- "check-labels"
69-
70-
if: always()
67+
needs:
68+
- check-labels
69+
if: always() && needs.check-labels.result == 'failure'
7170
steps:
72-
- uses: step-security/workflow-conclusion-action@v3
7371
- name: Checkout
74-
uses: actions/checkout@v1
75-
72+
uses: actions/checkout@v5
7673
- name: Comment PR
77-
if: env.WORKFLOW_CONCLUSION == 'failure'
78-
uses: thollander/actions-comment-pull-request@1.0.2
74+
uses: thollander/actions-comment-pull-request@v3.0.0
7975
with:
8076
message: "Please apply one of the following labels to the PR: 'patch', 'minor', 'major'."
81-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
77+
github-token: ${{ secrets.GITHUB_TOKEN }}
8278

8379
prepare-release:
8480
needs: ["check-labels", "comment"]

.github/workflows/pre-release.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,15 @@ jobs:
3535

3636
- name: Get PR Number
3737
id: pr_number
38-
run: echo "::set-output name=nr::$(echo $GITHUB_REF | awk 'BEGIN { FS = "/" } ; { print $3 }')"
38+
run: |
39+
NR=$(echo $GITHUB_REF | awk 'BEGIN { FS = "/" } ; { print $3 }')
40+
echo "nr=$NR" >> $GITHUB_OUTPUT
3941
4042
- name: Set version output
4143
id: out
4244
run: |
43-
echo "::set-output name=version::$(echo ${VERSION}-PRE-${{ steps.pr_number.outputs.nr }})"
44-
echo "::set-output name=plain-version::$(echo ${VERSION})"
45+
echo "version=${VERSION}-PRE-${{ steps.pr_number.outputs.nr }}" >> $GITHUB_OUTPUT
46+
echo "plain-version=${VERSION}" >> $GITHUB_OUTPUT
4547
4648
4749
git-release:

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454

5555
- name: Set version output
5656
id: out
57-
run: echo "::set-output name=version::$(echo ${VERSION})"
57+
run: echo "version=${VERSION}" >> $GITHUB_OUTPUT
5858

5959
deploy:
6060
name: "Release charts"

0 commit comments

Comments
 (0)