diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index ad3f129f0..0b66c8c58 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -9,11 +9,14 @@ concurrency: group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}' cancel-in-progress: true +permissions: + contents: write + pages: write + packages: write + jobs: ci-cd: runs-on: ubuntu-latest - env: - SCRATCH_SHOULD_DEPLOY: ${{ github.ref == 'refs/heads/develop' || startsWith(github.ref, 'refs/heads/hotfix/') }} steps: - uses: actions/checkout@v4 - uses: wagoid/commitlint-github-action@v5 @@ -24,10 +27,12 @@ jobs: node-version-file: '.nvmrc' - name: Info run: | - echo "Node version: $(node --version)" - echo "NPM version: $(npm --version)" - echo "GitHub ref: ${{ github.ref }}" - echo "GitHub head ref: ${{ github.head_ref }}" + cat <