Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

senzing-factory/build-resources#91 fix dependabot project status #13

Merged
merged 2 commits into from
Jan 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
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/add-to-project@v0.5.0
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/add-to-project@v0.5.0
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.