Skip to content

Commit

Permalink
grant access to the file for postgres user
Browse files Browse the repository at this point in the history
  • Loading branch information
mikealfare committed Jan 27, 2024
1 parent 5fc4824 commit e166b3d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
4 changes: 3 additions & 1 deletion .github/actions/setup-postgres-linux/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
6 changes: 0 additions & 6 deletions .github/workflows/example-job.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down

0 comments on commit e166b3d

Please sign in to comment.