Skip to content

senzing-factory/build-resources#82 standardized labels #8

senzing-factory/build-resources#82 standardized labels

senzing-factory/build-resources#82 standardized labels #8

# Based on
# - https://github.com/srggrs/assign-one-project-github-action
name: Add dependabot pull requests to project
on:
pull_request:
types:
- opened
- reopened
env:
GITHUB_TOKEN: ${{ secrets.SENZING_GITHUB_ACCESS_TOKEN }}
CREATOR: ${{ github.event.pull_request.user.login }}
jobs:
assign_one_project:
runs-on: ubuntu-latest
steps:
- name: Assign pull request to project
env:
BOOL: ${{ contains( env.CREATOR, 'dependabot' ) }}
uses: Senzing/github-action-add-issue-to-project@main
if: ${{ env.BOOL == 'true' }}
with:
project: 'https://github.com/orgs/Senzing/projects/8'