mirror of
https://github.com/supabase/supabase.git
synced 2026-10-05 09:25:06 +03:00
* fix: possible command injection in docs-lint * fix: explicit permissions for github actions
29 lines
663 B
YAML
29 lines
663 B
YAML
name: Automatically fix typos
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
|
|
# Cancel old builds on new commit for same workflow + branch/PR
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
permissions:
|
|
contents: read
|
|
pull-requests: write
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
ref: master
|
|
- uses: sobolevn/misspell-fixer-action@master
|
|
- uses: peter-evans/create-pull-request@v4
|
|
env:
|
|
ACTIONS_ALLOW_UNSECURE_COMMANDS: 'true'
|
|
with:
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|