diff --git a/.github/workflows/main-build-and-deploy-oss.yml b/.github/workflows/main-build-and-deploy-oss.yml index ed47682d..c99c8f12 100644 --- a/.github/workflows/main-build-and-deploy-oss.yml +++ b/.github/workflows/main-build-and-deploy-oss.yml @@ -9,12 +9,12 @@ on: types: [ "released" ] permissions: - contents: read + contents: write jobs: update-version: - environment: maven-central + #environment: maven-central runs-on: ubuntu-latest #needs: blackduck steps: @@ -29,7 +29,7 @@ jobs: - name: Checkout uses: actions/checkout@v6 with: - token: ${{ secrets.GH_TOKEN }} + token: ${{ secrets.GITHUB_TOKEN }} - name: Update version uses: ./.github/actions/newrelease