Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 2 additions & 11 deletions .github/workflows/monkey-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ env:

permissions:
contents: read
issues: write
pull-requests: write

on:
pull_request:
Expand Down Expand Up @@ -39,7 +37,7 @@ jobs:
if: github.event_name != 'pull_request'

- name: Detect changes
uses: dorny/paths-filter@v3
uses: dorny/paths-filter@v4
id: filter
with:
filters: |
Expand All @@ -55,17 +53,11 @@ jobs:
- 'packages/**/*'
anti-cheat:
- 'backend/**/anticheat/**'
workflows:
- '.github/workflows/**/*'

- name: Check Anti-cheat
if: steps.filter.outputs.anti-cheat == 'true' && !contains(github.event.pull_request.labels.*.name, 'force-ci') && !contains(github.event.pull_request.labels.*.name, 'force-full-ci')
run: exit 1

- name: Check Workflow Changes
if: steps.filter.outputs.workflows == 'true' && !contains(github.event.pull_request.labels.*.name, 'force-ci') && !contains(github.event.pull_request.labels.*.name, 'force-full-ci')
run: exit 1

- name: Export changes
id: export-changes
run: |
Expand Down Expand Up @@ -232,7 +224,7 @@ jobs:
frontend
packages

- uses: dorny/paths-filter@v3
- uses: dorny/paths-filter@v4
id: filter
with:
filters: |
Expand Down Expand Up @@ -336,7 +328,6 @@ jobs:
run: npm run test-pkg

on-failure:
permissions: write-all
name: on-failure
runs-on: ubuntu-latest
needs: [ci-be, ci-fe, ci-assets, ci-pkg]
Expand Down
Loading