diff options
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/downstream.yml | 4 | ||||
| -rw-r--r-- | .github/workflows/lint.yml | 6 | ||||
| -rw-r--r-- | .github/workflows/update-parsers.yml | 4 |
3 files changed, 9 insertions, 5 deletions
diff --git a/.github/workflows/downstream.yml b/.github/workflows/downstream.yml index e9f69fb72..46e699613 100644 --- a/.github/workflows/downstream.yml +++ b/.github/workflows/downstream.yml @@ -8,6 +8,10 @@ on: - "lua/nvim-treesitter/parsers.lua" workflow_dispatch: +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: ${{ github.event_name == 'pull_request' }} + jobs: test-downstream: name: Check downstream queries diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 41830b225..6ed8e7ba2 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -12,7 +12,7 @@ on: jobs: lua: name: Lint Lua files - runs-on: ubuntu-latest + runs-on: ubuntu-slim steps: - uses: actions/checkout@v6 @@ -26,7 +26,7 @@ jobs: queries: name: Lint query files - runs-on: ubuntu-latest + runs-on: ubuntu-slim steps: - uses: actions/checkout@v6 @@ -40,7 +40,7 @@ jobs: readme: name: Lint docs - runs-on: ubuntu-latest + runs-on: ubuntu-slim steps: - uses: actions/checkout@v6 diff --git a/.github/workflows/update-parsers.yml b/.github/workflows/update-parsers.yml index 23741d761..694a8bbbd 100644 --- a/.github/workflows/update-parsers.yml +++ b/.github/workflows/update-parsers.yml @@ -15,13 +15,13 @@ jobs: matrix: tier: [1, 2] name: Update parsers tier ${{ matrix.tier }} - runs-on: ubuntu-latest + runs-on: ubuntu-slim steps: - uses: actions/checkout@v6 with: ref: main - - uses: actions/create-github-app-token@v2 + - uses: actions/create-github-app-token@v3 id: app-token with: app-id: ${{ vars.TOKEN_ID }} |
