diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index 07d2267..80c0b0c 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -3,6 +3,8 @@ name: Lint Code Base on: pull_request +permissions: read-all + jobs: build: name: Lint Code Base @@ -15,12 +17,14 @@ jobs: - name: Checkout Code uses: actions/checkout@v4 with: - # Full git history is needed to get a proper list of changed files within `super-linter` + # Full git history is needed to get a proper + # list of changed files within `super-linter` fetch-depth: 0 - name: Lint Code Base uses: github/super-linter@v7 env: VALIDATE_ALL_CODEBASE: false + VALIDATE_MARKDOWN_PRETTIER: false DEFAULT_BRANCH: v5.x GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/v5-tests-and-release.yml b/.github/workflows/v5-tests-and-release.yml index 0bd8e43..bfc92e0 100644 --- a/.github/workflows/v5-tests-and-release.yml +++ b/.github/workflows/v5-tests-and-release.yml @@ -1,5 +1,6 @@ name: "[v5] Test and Release" on: [push, pull_request] +permissions: read-all jobs: display: name: "Display produced variables" @@ -266,6 +267,11 @@ jobs: release: runs-on: ubuntu-latest + permissions: + contents: write + issues: write + id-token: write + packages: write concurrency: group: release-${{ github.ref }}-${{ github.event_name }} needs: