-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
github-util: Update FROM version (#59)
* #1 Update version * Update to template
- Loading branch information
Showing
9 changed files
with
84 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- | ||
name: dependabot-approve-and-merge.yaml | ||
|
||
on: | ||
pull_request: | ||
branches: [main] | ||
|
||
jobs: | ||
dependabot-approve-and-merge: | ||
permissions: | ||
contents: write | ||
pull-requests: write | ||
uses: Senzing/build-resources/.github/workflows/dependabot-approve-and-merge.yaml@main | ||
secrets: | ||
SENZING_GITHUB_CODEOWNER_PR_RW_TOKEN: ${{ secrets.SENZING_GITHUB_CODEOWNER_PR_RW_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
name: docker-build-container.yaml | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- main | ||
workflow_dispatch: | ||
|
||
jobs: | ||
docker-build-container: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Build docker image | ||
uses: Senzing/github-action-docker-buildx-build@latest | ||
with: | ||
image-repository: senzing/test | ||
password: ${{ secrets.DOCKERHUB_PASSWORD }} | ||
username: ${{ secrets.DOCKERHUB_USERNAME }} |
19 changes: 19 additions & 0 deletions
19
.github/workflows/docker-push-containers-to-dockerhub.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
name: docker-push-containers-to-dockerhub.yaml | ||
|
||
on: | ||
push: | ||
tags: | ||
- "[0-9]+.[0-9]+.[0-9]+" | ||
|
||
jobs: | ||
docker-push-containers-to-dockerhub: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Build docker image and push to DockerHub | ||
uses: Senzing/github-action-docker-buildx-build@latest | ||
with: | ||
build-options: "--push" | ||
image-repository: senzing/test | ||
image-tag: ${{ github.ref_name }} | ||
password: ${{ secrets.DOCKERHUB_PASSWORD }} | ||
username: ${{ secrets.DOCKERHUB_USERNAME }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,24 @@ | ||
name: identify_customer | ||
name: identify-customer.yaml | ||
|
||
on: | ||
issues: | ||
types: | ||
- opened | ||
|
||
env: | ||
GITHUB_TOKEN: ${{ secrets.ORG_MEMBERSHIP_TOKEN }} | ||
MEMBER_LIST: ${{ secrets.SENZING_MEMBERS }} | ||
CREATOR: ${{ github.actor }} | ||
TITLE: ${{ github.event.issue.title }} | ||
NUMBER: ${{ github.event.issue.number }} | ||
TOKEN: ${{ secrets.SENZING_SLACK_BEARER_TOKEN }} | ||
REPO_URL: ${{ github.repository }} | ||
SLACK_HASHES: ${{ secrets.SENZING_GITHUB_SLACK_MAP }} | ||
|
||
jobs: | ||
check-membership: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: run script | ||
env: | ||
BOOL: ${{ contains( env.MEMBER_LIST, env.CREATOR ) }} | ||
if: ${{ env.BOOL == 'false' }} | ||
uses: Senzing/github-action-identify-customer@main | ||
automate-issues-labels: | ||
identify-customer: | ||
name: Add customer-submission label | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: initial labeling | ||
env: | ||
BOOL: ${{ contains( env.MEMBER_LIST, env.CREATOR ) }} | ||
if: ${{ env.BOOL == 'false' }} | ||
uses: andymckay/labeler@1.0.3 | ||
uses: andymckay/labeler@1.0.4 | ||
with: | ||
add-labels: "customer-submission" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
name: move-pr-to-done.yaml | ||
|
||
on: | ||
pull_request: | ||
types: [closed] | ||
|
||
jobs: | ||
move-pr-to-done: | ||
uses: Senzing/build-resources/.github/workflows/move-pr-to-done.yaml@main | ||
secrets: | ||
SENZING_GITHUB_PROJECT_RW_TOKEN: ${{ secrets.SENZING_GITHUB_PROJECT_RW_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
html/ | ||
.history |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters