diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index c952d98..2f71020 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -9,6 +9,7 @@ jobs: runs-on: ubuntu-24.04 permissions: id-token: write + contents: write steps: - uses: actions/checkout@v4 - name: Install Node.js @@ -17,9 +18,9 @@ jobs: node-version: 22.x - name: Run semantic-release env: - GH_TOKEN: ${{ secrets.GH_SEMANTIC_RELEASE_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: > - if [[ -n "$GH_TOKEN" ]]; then + if [[ "${{ github.repository_owner }}" == "pelias" ]]; then curl "https://raw.githubusercontent.com/pelias/ci-tools/master/semantic-release.sh" | bash - fi build-docker-images: