[Snyk] Security upgrade fiona from 1.9.4.post1 to 1.10b2 #396
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Directory Check | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
check-dirs: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 # Fetch all history for all tags and branches, fix it later | |
- name: Get base SHA for push event | |
if: github.event_name == 'push' | |
run: echo "PARENT_SHA=${{ github.event.before }}" >> $GITHUB_ENV | |
- name: Get base SHA for pull_request event | |
if: github.event_name == 'pull_request' | |
run: echo "PARENT_SHA=${{ github.event.pull_request.base.sha }}" >> $GITHUB_ENV | |
- name: Check directories | |
run: | | |
#Get the parent commit from GH action context | |
./.shared-scripts/check_directories.sh github-action ${{ env.PARENT_SHA }} | |