Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 6 additions & 10 deletions .github/workflows/check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,21 +64,17 @@ jobs:

comment:
runs-on: ubuntu-latest
needs:
- "check-labels"

if: always()
needs:
- check-labels
if: always() && needs.check-labels.result == 'failure'
steps:
- uses: step-security/workflow-conclusion-action@v3
- name: Checkout
uses: actions/checkout@v1

uses: actions/checkout@v5
- name: Comment PR
if: env.WORKFLOW_CONCLUSION == 'failure'
uses: thollander/actions-comment-pull-request@1.0.2
uses: thollander/actions-comment-pull-request@v3.0.0
with:
message: "Please apply one of the following labels to the PR: 'patch', 'minor', 'major'."
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
github-token: ${{ secrets.GITHUB_TOKEN }}

prepare-release:
needs: ["check-labels", "comment"]
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/pre-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,15 @@ jobs:

- name: Get PR Number
id: pr_number
run: echo "::set-output name=nr::$(echo $GITHUB_REF | awk 'BEGIN { FS = "/" } ; { print $3 }')"
run: |
NR=$(echo $GITHUB_REF | awk 'BEGIN { FS = "/" } ; { print $3 }')
echo "nr=$NR" >> $GITHUB_OUTPUT

- name: Set version output
id: out
run: |
echo "::set-output name=version::$(echo ${VERSION}-PRE-${{ steps.pr_number.outputs.nr }})"
echo "::set-output name=plain-version::$(echo ${VERSION})"
echo "version=${VERSION}-PRE-${{ steps.pr_number.outputs.nr }}" >> $GITHUB_OUTPUT
echo "plain-version=${VERSION}" >> $GITHUB_OUTPUT


git-release:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:

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

deploy:
name: "Release charts"
Expand Down
Loading