update readme #51
Workflow file for this run
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: execute-modified-bash-file | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
job-execute-bash: | |
runs-on: ubuntu-latest | |
steps: | |
# checkout repo | |
- uses: actions/checkout@v2 | |
#use action to get file that changed | |
- uses: lots0logs/gh-action-get-changed-files@2.1.4 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
# test if modified file will run | |
- name: Execute file! | |
run: | | |
echo "job: running script to execute modified file:" | |
chmod +x ./.github/workflows/run-modified-bash.sh | |
./.github/workflows/run-modified-bash.sh | |
echo "job: Done" |