name: Run script on commit on: push: {} jobs: run-bash: runs-on: ubuntu-latest # use the runner label you have steps: - name: Checkout repository uses: actions/checkout@v4 with: fetch-depth: 0 - name: Make script executable run: | chmod +x ./scripts/test.sh - name: Run script on current tree run: | ./scripts/test.sh