diff --git a/.github/workflows/add-to-project-garage-dependabot.yaml b/.github/workflows/add-to-project-garage-dependabot.yaml index 91cb367..d7adc03 100644 --- a/.github/workflows/add-to-project-garage-dependabot.yaml +++ b/.github/workflows/add-to-project-garage-dependabot.yaml @@ -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 }} diff --git a/.github/workflows/add-to-project-garage.yaml b/.github/workflows/add-to-project-garage.yaml index 4599e4e..ddebc40 100644 --- a/.github/workflows/add-to-project-garage.yaml +++ b/.github/workflows/add-to-project-garage.yaml @@ -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 @@ -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 }} diff --git a/.github/workflows/make-go-github-file.yaml b/.github/workflows/make-go-github-file.yaml index 93e0674..a4f506b 100644 --- a/.github/workflows/make-go-github-file.yaml +++ b/.github/workflows/make-go-github-file.yaml @@ -1,4 +1,4 @@ -name: make-go-github-file.yaml +name: 'make go github file' on: push: @@ -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 }} diff --git a/.github/workflows/make-go-tag.yaml b/.github/workflows/make-go-tag.yaml index fa51bae..f8603a4 100644 --- a/.github/workflows/make-go-tag.yaml +++ b/.github/workflows/make-go-tag.yaml @@ -1,4 +1,4 @@ -name: make-go-tag.yaml +name: 'make go tag' on: push: @@ -15,5 +15,6 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v4 + - name: Make go version tag - uses: senzing-factory/github-action-make-go-tag@main + uses: senzing-factory/github-action-make-go-tag@v1 diff --git a/.github/workflows/move-pr-to-done.yaml b/.github/workflows/move-pr-to-done.yaml deleted file mode 100644 index 099d1b4..0000000 --- a/.github/workflows/move-pr-to-done.yaml +++ /dev/null @@ -1,9 +0,0 @@ -name: move-pr-to-done.yaml -on: - pull_request: - types: [closed] -jobs: - move-pr-to-done: - uses: senzing-factory/build-resources/.github/workflows/move-pr-to-done.yaml@main - secrets: - SENZING_GITHUB_PROJECT_RW_TOKEN: ${{ secrets.SENZING_GITHUB_PROJECT_RW_TOKEN }}