Skip to content

Commit 969b2db

Browse files
committed
Fix actions
1 parent 02869c5 commit 969b2db

3 files changed

Lines changed: 10 additions & 5 deletions

File tree

.github/workflows/bump.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,6 @@ jobs:
4646
uses: docker/build-push-action@v1.1.0
4747
with:
4848
username: ${{ secrets.DOCKER_USERNAME }}
49-
password: ${{ secrets.DOCKER_PASSWORD }}
49+
password: ${{ secrets.DOCKER_TOKEN }}
5050
repository: jaumann/github-bumpversion-action
5151
tags: latest,v${{ needs.bump-version.outputs.new_ver }}

.github/workflows/lint.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,10 @@ jobs:
88
runs-on: ubuntu-latest
99
steps:
1010
- uses: actions/checkout@v2
11+
with:
12+
fetch-depth: 0
1113
- name: Lint Code Base
12-
uses: github/super-linter@master
14+
uses: super-linter/super-linter@v6.5.1
15+
env:
16+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
17+
VALIDATE_BASH: true

entrypoint.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/bin/bash
22

3+
chown -R root: /github/workspace
4+
35
# Configuration
46
default_semvar_bump=${DEFAULT_BUMP:-patch}
57
source=${SOURCE:-.}
@@ -53,9 +55,7 @@ new_version=$(echo "$raw_output" | grep -o 'new_version=\S*' | cut -d= -f2)
5355
# We should have all the information we need by this point
5456
# Set Outputs and log information
5557

56-
echo "old_ver=$old_version" >> "$GITHUB_OUTPUT"
57-
echo "new_ver=$new_version" >> "$GITHUB_OUTPUT"
58-
echo "part=$part" >> "$GITHUB_OUTPUT"
58+
{ echo "old_ver=$old_version"; echo "new_ver=$new_version"; echo "part=$part"; } >> "$GITHUB_OUTPUT"
5959

6060
echo "Semantic Version Part to Bump: $part"
6161
echo "Current Version: $old_version"

0 commit comments

Comments
 (0)