Add git-diff
hook to pre-commit CI runs
#315
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: Add to Project | |
on: | |
issues: | |
types: | |
- opened | |
pull_request_target: | |
types: | |
- opened | |
jobs: | |
add_to_project: | |
if: '!github.event.repository.fork' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
with: | |
# issues are added to the Planning project | |
# PRs are added to the Review project | |
project-url: https://github.com/orgs/conda/projects/${{ github.event_name == 'issues' && 2 || 16 }} | |
github-token: ${{ secrets.PROJECT_TOKEN }} |