Skip to content

A platform for community discussion. Free, open, simple.

DEV: Fix syntax_tree in GitHub CI

David Taylor488b8b369ab5
diff --git a/.github/workflows/linting.yml b/.github/workflows/linting.yml
index 984a9d104b7..6489153036d 100644
--- a/.github/workflows/linting.yml
+++ b/.github/workflows/linting.yml
@@ -22,6 +22,9 @@ jobs:
timeout-minutes: 30
steps:
+ - name: Set working directory owner
+ run: chown root:root .
+
- uses: actions/checkout@v3
with:
fetch-depth: 1
@@ -70,7 +73,9 @@ jobs:
- name: syntax_tree
if: ${{ !cancelled() }}
- run: bundle exec stree check Gemfile $(git ls-files '*.rb') $(git ls-files '*.rake')
+ run: |
+ set -E
+ bundle exec stree check Gemfile $(git ls-files '*.rb') $(git ls-files '*.rake')
- name: ESLint (core)
if: ${{ !cancelled() }}