Skip to content

Commit

Permalink
senzing-factory/build-resources#91 fix dependabot project status (#7)
Browse files Browse the repository at this point in the history
* senzing-factory/build-resources#91 fix dependabot project status

* senzing-factory/build-resources#91 fix dependabot project status
  • Loading branch information
kernelsam authored Feb 1, 2024
1 parent b5e97a8 commit e4d58db
Show file tree
Hide file tree
Showing 6 changed files with 44 additions and 56 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/add-to-project-factory-dependabot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: 'add to project factory dependabot'

on:
pull_request:
branches: [main]

jobs:

add-issue-labels:
secrets:
SENZING_GITHUB_PROJECT_RW_TOKEN: ${{ secrets.SENZING_GITHUB_PROJECT_RW_TOKEN }}
uses: senzing-factory/build-resources/.github/workflows/add-to-project-dependabot.yaml@main
with:
project: ${{ vars.SENZING_PROJECT_FACTORY }}
18 changes: 18 additions & 0 deletions .github/workflows/add-to-project-factory.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: 'add to project factory'

on:
issues:
types:
- opened
- reopened

jobs:
add-to-project:
name: Add issue to project
runs-on: ubuntu-latest
steps:
- name: Assign issue to project
uses: actions/add-to-project@v0.5.0
with:
project-url: https://github.com/orgs/${{ vars.SENZING_GITHUB_ACCOUNT_NAME }}/projects/${{ vars.SENZING_PROJECT_FACTORY }}
github-token: ${{ secrets.SENZING_GITHUB_ACCESS_TOKEN }}
12 changes: 12 additions & 0 deletions .github/workflows/dependabot-approve-and-merge.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: dependabot-approve-and-merge.yaml
on:
pull_request:
branches: [main]
jobs:
dependabot-approve-and-merge:
permissions:
contents: write
pull-requests: write
uses: senzing-factory/build-resources/.github/workflows/dependabot-approve-and-merge.yaml@main
secrets:
SENZING_GITHUB_CODEOWNER_PR_RW_TOKEN: ${{ secrets.SENZING_GITHUB_CODEOWNER_PR_RW_TOKEN }}
25 changes: 0 additions & 25 deletions .github/workflows/dependabot-automation.yaml

This file was deleted.

18 changes: 0 additions & 18 deletions .github/workflows/issue-automation.yaml

This file was deleted.

13 changes: 0 additions & 13 deletions .github/workflows/pr-closed-automation.yaml

This file was deleted.

0 comments on commit e4d58db

Please sign in to comment.