diff --git a/.github/actions/setup-postgres-linux/action.yml b/.github/actions/setup-postgres-linux/action.yml index 67de5acc..d3ef266d 100644 --- a/.github/actions/setup-postgres-linux/action.yml +++ b/.github/actions/setup-postgres-linux/action.yml @@ -14,5 +14,7 @@ runs: # shell: bash - name: Configure the database - run: sudo -u postgres bash ${{ github.action_path }}/setup_db.sh + run: | + sudo chown -R postgres:postgres ${{ github.action_path }}/setup_db.sh + sudo -u postgres bash ${{ github.action_path }}/setup_db.sh shell: bash diff --git a/.github/workflows/example-job.yml b/.github/workflows/example-job.yml index 17cb9818..c17aad07 100644 --- a/.github/workflows/example-job.yml +++ b/.github/workflows/example-job.yml @@ -1,14 +1,8 @@ name: Example Job on: - push: - branches: - - "main" - - "*.latest" pull_request: -permissions: read-all - # https://docs.github.com/en/actions/learn-github-actions/essential-features-of-github-actions jobs: example-job: