Skip to content

Commit

Permalink
#16 fix syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
kernelsam committed Jun 8, 2023
1 parent f23c60f commit 86e5d9b
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 29 deletions.
20 changes: 8 additions & 12 deletions .github/workflows/add-issue-to-projects.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,13 @@ on:

jobs:
add-issue-to-community:
steps:
- name: Add issue to Community project
uses: Senzing/build-resources/.github/workflows/add-to-project.yaml@main
with:
project-number: "2"
classic: true
uses: Senzing/build-resources/.github/workflows/add-to-project.yaml@main
with:
project-number: "2"
classic: true

add-issue-to-devsecops:
steps:
- name: Add issue to DevSecOps project
uses: Senzing/build-resources/.github/workflows/add-to-project.yaml@main
with:
project-number: "13"
classic: false
uses: Senzing/build-resources/.github/workflows/add-to-project.yaml@main
with:
project-number: "13"
classic: false
28 changes: 11 additions & 17 deletions .github/workflows/dependabot-automation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,28 +8,22 @@ jobs:

add-pr-to-community:
if: ${{ github.actor == 'dependabot[bot]' && ( github.event.pull_request.opened == true || github.event.pull_request.reopened == true ) }}
steps:
- name: Add PR to Community project
uses: Senzing/build-resources/.github/workflows/add-to-project.yaml@main
with:
project-number: "2"
classic: true
uses: Senzing/build-resources/.github/workflows/add-to-project.yaml@main
with:
project-number: "2"
classic: true

add-pr-to-devsecops:
if: ${{ github.actor == 'dependabot[bot]' && ( github.event.pull_request.opened == true || github.event.pull_request.reopened == true ) }}
steps:
- name: Add PR to DevSecOps project
uses: Senzing/build-resources/.github/workflows/add-to-project.yaml@main
with:
project-number: "13"
classic: false
uses: Senzing/build-resources/.github/workflows/add-to-project.yaml@main
with:
project-number: "13"
classic: false

dependabot-approve-and-merge:
permissions:
contents: write
pull-requests: write
steps:
- name: Dependabot approve and merge
uses: Senzing/build-resources/.github/workflows/dependabot-approve-and-merge.yaml@main
secrets:
CODEOWNER_PR_APPROVAL_TOKEN: ${{ secrets.CODEOWNER_PR_APPROVAL_TOKEN }}
uses: Senzing/build-resources/.github/workflows/dependabot-approve-and-merge.yaml@main
secrets:
CODEOWNER_PR_APPROVAL_TOKEN: ${{ secrets.CODEOWNER_PR_APPROVAL_TOKEN }}

0 comments on commit 86e5d9b

Please sign in to comment.