diff --git a/.editorconfig b/.editorconfig index 098e8f2..137e978 100644 --- a/.editorconfig +++ b/.editorconfig @@ -12,6 +12,10 @@ charset = utf-8 trim_trailing_whitespace = true insert_final_newline = true +# Do not trim trailing whitespace on diff files as it can be used for alignment +[*.diff] +trim_trailing_whitespace = false + # Do not trim trailing whitespace on Markdown files as double space can be used # for a newline [*.md] diff --git a/.github/workflows/dependency-review.yaml b/.github/workflows/dependency-review.yaml index 2d7dfe9..7ddedf5 100644 --- a/.github/workflows/dependency-review.yaml +++ b/.github/workflows/dependency-review.yaml @@ -7,7 +7,7 @@ name: Dependency Review on: pull_request: - types: [opened, synchronize] + types: [opened, reopened, synchronize] branches: [main] # Disable permissions for all available scopes diff --git a/.github/workflows/pr-title.yaml b/.github/workflows/pr-title.yaml index b93ac1d..992b26b 100644 --- a/.github/workflows/pr-title.yaml +++ b/.github/workflows/pr-title.yaml @@ -2,8 +2,8 @@ name: Validate PR title on: pull_request: - types: [opened, edited, synchronize] - #branches: [main] + types: [opened, edited, reopened, synchronize] + branches: [main] workflow_call: {} # Disable permissions for all available scopes diff --git a/.github/workflows/wait-for-checks.yaml b/.github/workflows/wait-for-checks.yaml index fa2fd36..2399fc7 100644 --- a/.github/workflows/wait-for-checks.yaml +++ b/.github/workflows/wait-for-checks.yaml @@ -2,10 +2,7 @@ name: Checks on: pull_request: - types: [opened, edited, synchronize] - branches: [main] - pull_request_target: - types: [opened, edited, synchronize] + types: [opened, edited, reopened, synchronize] branches: [main] # Disable permissions for all available scopes @@ -17,7 +14,6 @@ concurrency: jobs: enforce-all-checks: - if: ${{ github.event_name == 'pull_request' }} permissions: checks: read runs-on: ubuntu-latest