diff --git a/.github/workflows/action_lint.yml b/.github/workflows/action_lint.yml new file mode 100644 index 000000000000..5002d2b1dfbe --- /dev/null +++ b/.github/workflows/action_lint.yml @@ -0,0 +1,8 @@ +name: Github-Action linter +on: [pull_request] +jobs: + actionlint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: reviewdog/action-actionlint@v1 \ No newline at end of file diff --git a/.github/workflows/prettier_write.yml b/.github/workflows/prettier_write.yml index b24dd186fec8..73baf45cc5e8 100644 --- a/.github/workflows/prettier_write.yml +++ b/.github/workflows/prettier_write.yml @@ -1,14 +1,13 @@ name: prettier review -on: [pull_request] +on: [pull_request_target] jobs: prettier: name: runner / prettier runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - uses: EPMatt/reviewdog-action-prettier@v1 + - uses: bryant-finney/reviewdog-action-prettier@v1.2.1 with: - github_token: ${{ secrets.github_token }} + github_token: ${{ secrets.PAT }} reporter: github-pr-review - level: error prettier_flags: '_data/*/*.json'