Skip to content

Commit

Permalink
Merge pull-linter.yml and lint.yml; limit token permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
akx committed Dec 7, 2021
1 parent ac9f302 commit a0fdc81
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 37 deletions.
36 changes: 0 additions & 36 deletions .github/workflows/Pull-Linter.yml

This file was deleted.

7 changes: 6 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
name: Lint

on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
branches: [ master ]
pull_request:
branches: [ master ]
pull_request_target:
branches: [ master ]

permissions:
checks: write
contents: read

jobs:
run-linters:
Expand Down

0 comments on commit a0fdc81

Please sign in to comment.