Skip to content

Commit

Permalink
updating wf permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
jsegal205 committed Oct 30, 2024
1 parent 2d90353 commit 838ea50
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/validate_company_industry.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,13 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Take ownership of the checkout directory (Git CVE-2022-24765)
run: chown --recursive --reference=/ .

- name: Allow for file ownership conflicts with Docker and GitHub Actions
run: git config --global --add safe.directory '*'

- id: beam
uses: erlef/setup-beam@v1
with:
Expand All @@ -33,11 +40,6 @@ jobs:
- if: steps.cache.outputs.cache-hit != 'true'
run: mix deps.get

# - name: Dump GitHub context
# env:
# GITHUB_CONTEXT: ${{ toJSON(github) }}
# run: echo "$GITHUB_CONTEXT"

- name: Get changed files
id: changed_files
run: |
Expand Down

0 comments on commit 838ea50

Please sign in to comment.