diff --git a/.github/workflows/bump.yml b/.github/workflows/bump.yml index 613b904..5aac441 100644 --- a/.github/workflows/bump.yml +++ b/.github/workflows/bump.yml @@ -46,6 +46,6 @@ jobs: uses: docker/build-push-action@v1.1.0 with: username: ${{ secrets.DOCKER_USERNAME }} - password: ${{ secrets.DOCKER_PASSWORD }} + password: ${{ secrets.DOCKER_TOKEN }} repository: jaumann/github-bumpversion-action tags: latest,v${{ needs.bump-version.outputs.new_ver }} diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 87ef565..5f90863 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -8,5 +8,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 + with: + fetch-depth: 0 - name: Lint Code Base - uses: github/super-linter@master + uses: super-linter/super-linter@v6.5.1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + VALIDATE_BASH: true diff --git a/entrypoint.sh b/entrypoint.sh index 44c303b..884c2cf 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -1,5 +1,7 @@ #!/bin/bash +chown -R root: /github/workspace + # Configuration default_semvar_bump=${DEFAULT_BUMP:-patch} source=${SOURCE:-.} @@ -53,9 +55,7 @@ new_version=$(echo "$raw_output" | grep -o 'new_version=\S*' | cut -d= -f2) # We should have all the information we need by this point # Set Outputs and log information -echo "old_ver=$old_version" >> "$GITHUB_OUTPUT" -echo "new_ver=$new_version" >> "$GITHUB_OUTPUT" -echo "part=$part" >> "$GITHUB_OUTPUT" +{ echo "old_ver=$old_version"; echo "new_ver=$new_version"; echo "part=$part"; } >> "$GITHUB_OUTPUT" echo "Semantic Version Part to Bump: $part" echo "Current Version: $old_version"