Skip to content

Commit

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

* senzing-factory/build-resources#79 add codeowners
  • Loading branch information
kernelsam authored Jan 29, 2024
1 parent 308383f commit ecd0211
Show file tree
Hide file tree
Showing 8 changed files with 39 additions and 69 deletions.
2 changes: 2 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Default code owner

* @senzing-garage/senzing-go-developers

/.github/ @senzing-garage/senzing-devsecops
20 changes: 0 additions & 20 deletions .github/workflows/add-label-customer-submission.yaml

This file was deleted.

15 changes: 0 additions & 15 deletions .github/workflows/add-label-triage.yaml

This file was deleted.

16 changes: 16 additions & 0 deletions .github/workflows/add-labels-standardized.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: 'add labels standardized'

on:
issues:
types:
- opened
- reopened

jobs:
add-issue-labels:
permissions:
issues: write
secrets:
ORG_MEMBERSHIP_TOKEN: ${{ secrets.ORG_MEMBERSHIP_TOKEN }}
SENZING_MEMBERS: ${{ secrets.SENZING_MEMBERS }}
uses: senzing-factory/build-resources/.github/workflows/add-labels-to-issue.yaml@v1
29 changes: 11 additions & 18 deletions .github/workflows/add-to-project-garage-dependabot.yaml
Original file line number Diff line number Diff line change
@@ -1,21 +1,14 @@
name: add-to-project-garage-dependabot.yaml
name: 'add to project garage dependabot'

on:
pull_request:
types:
- opened
- reopened
env:
CREATOR: ${{ github.event.pull_request.user.login }}
branches: [main]

jobs:
add-to-project:
name: Add dependabot pull request to project
runs-on: ubuntu-latest
steps:
- name: Assign pull request to project
env:
BOOL: ${{ contains( env.CREATOR, 'dependabot' ) }}
if: ${{ env.BOOL == 'true' }}
uses: actions/[email protected]
with:
project-url: https://github.com/orgs/senzing-garage/projects/3
github-token: ${{ secrets.SENZING_GITHUB_ACCESS_TOKEN }}

add-to-project-dependabot:
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_GARAGE }}
8 changes: 5 additions & 3 deletions .github/workflows/add-to-project-garage.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
name: add-to-project-garage.yaml
name: 'add to project garage'

on:
issues:
types:
- reopened
- opened
- reopened

jobs:
add-to-project:
name: Add issue to project
Expand All @@ -12,5 +14,5 @@ jobs:
- name: Assign issue to project
uses: actions/[email protected]
with:
project-url: https://github.com/orgs/senzing-garage/projects/3
project-url: https://github.com/orgs/${{ vars.SENZING_GITHUB_ACCOUNT_NAME }}/projects/${{ vars.SENZING_PROJECT_GARAGE }}
github-token: ${{ secrets.SENZING_GITHUB_ACCESS_TOKEN }}
9 changes: 5 additions & 4 deletions .github/workflows/make-go-github-file.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: make-go-github-file.yaml
name: 'make go github file'

on:
push:
Expand All @@ -7,11 +7,12 @@ on:

permissions:
contents: write
pull-requests: write

jobs:
make-go-github-file:
uses: senzing-factory/build-resources/.github/workflows/make-go-github-file.yaml@main
uses: senzing-factory/build-resources/.github/workflows/make-go-github-file.yaml@v1
secrets:
SENZING_GITHUB_GPG_PRIVATE_KEY: ${{ secrets.SENZING_GITHUB_GPG_PRIVATE_KEY }}
SENZING_GITHUB_GPG_PASSPHRASE: ${{ secrets.SENZING_GITHUB_GPG_PASSPHRASE }}
SENZING_GITHUB_ACTOR: ${{ secrets.SENZING_GITHUB_ACTOR }}
SENZING_GITHUB_GPG_PASSPHRASE: ${{ secrets.SENZING_GITHUB_GPG_PASSPHRASE }}
SENZING_GITHUB_GPG_PRIVATE_KEY: ${{ secrets.SENZING_GITHUB_GPG_PRIVATE_KEY }}
9 changes: 0 additions & 9 deletions .github/workflows/move-pr-to-done.yaml

This file was deleted.

0 comments on commit ecd0211

Please sign in to comment.