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: Notify New Contribution Agreement | |
on: | |
push: | |
# branches: | |
# - main | |
# paths: | |
# - CONTRIBUTING.md | |
jobs: | |
run-script: | |
runs-on: ubuntu-latest | |
env: | |
PYTHON_VERSION: 3.11 | |
WORKING_DIR: .github/scripts/python/notify-new-contribution-agreement | |
steps: | |
- name: 🛫 Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 2 | |
- name: git diff | |
run: git --no-pager diff HEAD~1:CONTRIBUTING.md CONTRIBUTING.md | |
# - name: 🐍 Set up Python ${{ env.PYTHON_VERSION }} Environment | |
# uses: ocadotechnology/codeforlife-workspace/.github/actions/python/setup-environment@main | |
# with: | |
# python-version: ${{ env.PYTHON_VERSION }} | |
# working-directory: ${{ env.WORKING_DIR }} | |
# - name: 🏃 Run Script | |
# working-directory: ${{ env.WORKING_DIR }} | |
# run: pipenv run python . | |
# env: | |
# AUTH: ${{ secrets.DOTDIGITAL_API_USER_AUTH }} |