diff --git a/.github/workflows/builds.yaml b/.github/workflows/builds.yaml index 01c3a885..b47263e4 100644 --- a/.github/workflows/builds.yaml +++ b/.github/workflows/builds.yaml @@ -5,7 +5,7 @@ on: # yamllint disable-line rule:truthy workflow_dispatch: pull_request: types: - [opened, reopened, edited] + [opened, reopened, edited, synchronize] jobs: pre-release: diff --git a/.github/workflows/linting.yaml b/.github/workflows/linting.yaml deleted file mode 100644 index b864529b..00000000 --- a/.github/workflows/linting.yaml +++ /dev/null @@ -1,51 +0,0 @@ ---- -name: "🧪 Linting checks" - -# yamllint disable-line rule:truthy -on: - workflow_dispatch: - pull_request: - types: - [opened, reopened, edited] - -jobs: - lint: - name: "Check repository content" - runs-on: ubuntu-latest - steps: - - - name: "Checkout repository" - uses: actions/checkout@v3 - - - name: "Checking YAML files (yamllint)" - if: always() - run: | - pip install yamllint - yamllint . - -# - name: "Checking TOML files (gh-action-toml-linter)" -# if: always() -# uses: yisonPylkita/gh-action-toml-linter@0.1.3 - - - name: "Checking GitHub Actions (actionlint)" - if: always() - id: actionlint - uses: raven-actions/actionlint@v1 - with: - matcher: true # optional - cache: true # optional - fail-on-error: true # optional - files: ".github/workflows/*.yaml, .github/workflows/*.yml" - # flags: "-ignore SC2086" # optional - - - name: "Problem report (conditional step)" - if: ${{ steps.actionlint.outputs.exit-code != 0 }} - # yamllint disable rule:line-length - run: | - echo "Used actionlint version ${{ steps.actionlint.outputs.version-semver }}" - echo "Used actionlint release ${{ steps.actionlint.outputs.version-tag }}" - echo "actionlint ended with ${{ steps.actionlint.outputs.exit-code }} exit code" - echo "actionlint ended because '${{ steps.actionlint.outputs.exit-message }}'" - echo "actionlint found ${{ steps.actionlint.outputs.total-errors }} errors" - echo "actionlint checked ${{ steps.actionlint.outputs.total-files }} files" - echo "actionlint cache used: ${{ steps.actionlint.outputs.cache-hit }}" diff --git a/.github/workflows/security.yaml b/.github/workflows/security.yaml index 5e9b10df..d288a5eb 100644 --- a/.github/workflows/security.yaml +++ b/.github/workflows/security.yaml @@ -10,7 +10,7 @@ on: # yamllint disable-line rule:truthy workflow_dispatch: pull_request: types: - [opened, reopened, edited] + [opened, reopened, edited, synchronize] jobs: build: diff --git a/.github/workflows/testing.yaml b/.github/workflows/testing.yaml index 966cf2ca..5de3d6a1 100644 --- a/.github/workflows/testing.yaml +++ b/.github/workflows/testing.yaml @@ -5,7 +5,7 @@ on: # yamllint disable-line rule:truthy workflow_dispatch: pull_request: types: - [opened, reopened, edited] + [opened, reopened, edited, synchronize] jobs: build: