diff --git a/.github/workflows/commit-linter.yml b/.github/workflows/commit-linter.yml index 5205486..70b6d7a 100644 --- a/.github/workflows/commit-linter.yml +++ b/.github/workflows/commit-linter.yml @@ -2,11 +2,14 @@ name: Commit Linter on: - pull_request: - types: [opened, reopened] push: branches: - main + pull_request: + types: + - opened + - reopened + - synchronize permissions: # added using https://github.com/step-security/secure-workflows contents: read diff --git a/.github/workflows/devcontainer-checker.yml b/.github/workflows/devcontainer-checker.yml index 52993e9..550c394 100644 --- a/.github/workflows/devcontainer-checker.yml +++ b/.github/workflows/devcontainer-checker.yml @@ -3,14 +3,17 @@ name: "Dev Container Checker" on: workflow_dispatch: - pull_request: - types: [opened, reopened] + push: paths: - ".devcontainer/**" - ".github/workflows/devcontainer-checker.yml" branches: - main - push: + pull_request: + types: + - opened + - reopened + - synchronize paths: - ".devcontainer/**" - ".github/workflows/devcontainer-checker.yml"