diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index be81bb3..7a1948c 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,13 +17,16 @@ 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@v5 + uses: github/super-linter@v7 env: VALIDATE_ALL_CODEBASE: false + VALIDATE_MARKDOWN_PRETTIER: false + VALIDATE_YAML_PRETTIER: false DEFAULT_BRANCH: v1.x GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - \ No newline at end of file + \ No newline at end of file diff --git a/.github/workflows/shortify-git-revision.yaml b/.github/workflows/shortify-git-revision.yaml index 17e4c70..636b0ec 100644 --- a/.github/workflows/shortify-git-revision.yaml +++ b/.github/workflows/shortify-git-revision.yaml @@ -1,9 +1,11 @@ +--- name: Shortify Git Revision on: push: branches: - v1.x pull_request: +permissions: read-all jobs: os-testing: strategy: @@ -200,19 +202,25 @@ jobs: [[ "${{ env.ROOT_COMMIT_SHORT }}" == "${{ steps.short-on-error.outputs.short }}" ]] shell: bash + release: runs-on: ubuntu-latest - concurrency: - group: release-${{ github.ref }} needs: - os-testing - error-os-testing + permissions: + contents: write + issues: write + id-token: write + packages: write + concurrency: + group: release-${{ github.ref }} steps: - - name: Checkout - uses: actions/checkout@v4 + - uses: actions/checkout@v4 + with: + persist-credentials: false - # Release - - name: Release this GitHub Action + - name: Release That uses: rlespinasse/release-that@v1 with: github-token: ${{ secrets.GH_TOKEN }}