diff --git a/.github/workflows/pr-title.yaml b/.github/workflows/pr-title.yaml index 415a980..74e3bd6 100644 --- a/.github/workflows/pr-title.yaml +++ b/.github/workflows/pr-title.yaml @@ -11,4 +11,4 @@ jobs: name: Validate PR title permissions: pull-requests: write - uses: 3ware/workflows/.github/workflows/pr-title.yaml@967c3673d8c3e538b47ad2c2b75a89268d990e61 # v2.6.0 + uses: 3ware/workflows/.github/workflows/pr-title.yaml@7880d6b986d1d689f5d219e901b863f1378fea9c # v4.4.0 diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 80a3f6e..d323a2a 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -10,5 +10,5 @@ permissions: {} jobs: semantic-release: name: Release - uses: 3ware/workflows/.github/workflows/release.yaml@b8544975f6b063c29ac6a90a487a6fc8cc324aff # v3.0.0 + uses: 3ware/workflows/.github/workflows/release.yaml@7880d6b986d1d689f5d219e901b863f1378fea9c # v4.4.0 secrets: inherit diff --git a/.github/workflows/wait-for-checks.yaml b/.github/workflows/wait-for-checks.yaml new file mode 100644 index 0000000..95fa084 --- /dev/null +++ b/.github/workflows/wait-for-checks.yaml @@ -0,0 +1,25 @@ +name: Checks + +on: + pull_request: + types: [opened, edited, synchronize] + branches: [main] + +# Disable permissions for all available scopes +permissions: {} + +concurrency: + group: ${{ github.workflow }}-${{ github.head_ref }} + cancel-in-progress: true + +jobs: + enforce-all-checks: + permissions: + checks: read + runs-on: ubuntu-latest + timeout-minutes: 30 + steps: + - name: GitHub Checks + uses: poseidon/wait-for-status-checks@6988432d64ad3f9c2608db4ca16fded1b7d36ead # v0.5.0 + with: + token: ${{ secrets.GITHUB_TOKEN }} diff --git a/commitlint.config.js b/commitlint.config.js index d6bfe24..a46ad31 100644 --- a/commitlint.config.js +++ b/commitlint.config.js @@ -11,9 +11,11 @@ module.exports = { 1, "always", [ + "checks", "codeowners", "commitlint", - "delete-workflow-run", + "delete-run", + "deps", "test-and-build", "pr-title", "publish",