diff --git a/.github/actions/setup-postgres-linux/action.yml b/.github/actions/setup-postgres-linux/action.yml index d3ef266d..7c9657d2 100644 --- a/.github/actions/setup-postgres-linux/action.yml +++ b/.github/actions/setup-postgres-linux/action.yml @@ -13,8 +13,10 @@ runs: # run: sudo -u postgres psql -f ./scripts/setup_test_database.sql # shell: bash + - name: Grant access to the file + run: sudo chown -R postgres:postgres ${{ github.action_path }}/setup_db.sh + shell: bash + - name: Configure the database - run: | - sudo chown -R postgres:postgres ${{ github.action_path }}/setup_db.sh - sudo -u postgres bash ${{ github.action_path }}/setup_db.sh + run: 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 c17aad07..0c546baf 100644 --- a/.github/workflows/example-job.yml +++ b/.github/workflows/example-job.yml @@ -2,6 +2,8 @@ name: Example Job on: pull_request: + branches: + - "*.latest" # https://docs.github.com/en/actions/learn-github-actions/essential-features-of-github-actions jobs: