Skip to content

Commit

Permalink
Merge pull request #77 from Senzing/issue-75.macy.1
Browse files Browse the repository at this point in the history
Add workflows for dependabot
  • Loading branch information
SamMacy authored Jul 15, 2022
2 parents 3e49dd2 + 8f88b8c commit 813e7b9
Show file tree
Hide file tree
Showing 4 changed files with 104 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/add-dependabot-request-to-g2-python.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# 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'
26 changes: 26 additions & 0 deletions .github/workflows/add-dependabot-request-to-t-ast.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# 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/6'
26 changes: 26 additions & 0 deletions .github/workflows/add-dependabot-request-to-t-comm.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# 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/2'
26 changes: 26 additions & 0 deletions .github/workflows/add-dependabot-request-to-t-gdev.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# 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/9'

0 comments on commit 813e7b9

Please sign in to comment.