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 Version | |
on: | |
push: | |
# branches: | |
# - main | |
# paths: | |
# - CONTRIBUTING.md | |
jobs: | |
get-contributors: | |
runs-on: ubuntu-latest | |
outputs: | |
contributors: ${{ steps.get-contributors.outputs.CONTRIBUTORS }} | |
steps: | |
- name: Get Contributors | |
id: get-contributors | |
run: | | |
echo 'CONTRIBUTORS=["[email protected]","[email protected]"]' >> $GITHUB_OUTPUT | |
# uses: . | |
# - name: 👨💻 Get Contributors | |
# working-directory: . | |
# run: pipenv run python . | |
send-email: | |
runs-on: ubuntu-latest | |
needs: [get-contributors] | |
strategy: | |
matrix: | |
contributor: ${{ fromJSON(needs.get-contributors.outputs.contributors) }} | |
steps: | |
- name: Echo Contributor | |
run: echo "${{ matrix.contributor }}" | |
# - name: 📧 Send Email | |
# uses: ocadotechnology/codeforlife-workspace/.github/actions/email/send@main | |
# with: | |
# auth: ${{ secrets.DOTDIGITAL_API_USER_AUTH }} | |
# to-addresses: '["${{ matrix.contributor }}"]' | |