update workflow triggers and permissions

This commit is contained in:
GrantBirki 2023-10-31 17:09:59 -06:00
parent c9c990c874
commit e62403ee77
No known key found for this signature in database
GPG Key ID: 9029BBCCC15C6F8C
2 changed files with 7 additions and 6 deletions

View File

@ -7,6 +7,9 @@ on:
- main
- 'releases/*'
permissions:
contents: read
jobs:
test-typescript:
name: TypeScript Tests

View File

@ -5,19 +5,17 @@ on:
branches:
- main
push:
branches-ignore:
branches:
- main
permissions:
contents: read
jobs:
lint:
name: Lint Code Base
runs-on: ubuntu-latest
permissions:
contents: read
packages: read
statuses: write
steps:
- name: Checkout
id: checkout