-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into senzing-factory/build-resources#15
- Loading branch information
Showing
22 changed files
with
188 additions
and
133 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Extends the default yamllint config by adjusting some options. | ||
extends: default | ||
|
||
rules: | ||
comments-indentation: disable | ||
line-length: | ||
level: warning | ||
allow-non-breakable-inline-mappings: true | ||
truthy: disable |
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 |
---|---|---|
@@ -1,21 +1,16 @@ | ||
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] | ||
|
||
permissions: | ||
repository-projects: write | ||
|
||
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@v1 | ||
with: | ||
project: ${{ vars.SENZING_PROJECT_GARAGE }} |
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,16 +1,20 @@ | ||
name: add-to-project-garage.yaml | ||
name: add to project garage | ||
|
||
on: | ||
issues: | ||
types: | ||
- reopened | ||
- opened | ||
- reopened | ||
|
||
permissions: | ||
repository-projects: write | ||
|
||
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/senzing-garage/projects/3 | ||
github-token: ${{ secrets.SENZING_GITHUB_ACCESS_TOKEN }} | ||
secrets: | ||
SENZING_GITHUB_PROJECT_RW_TOKEN: ${{ secrets.SENZING_GITHUB_PROJECT_RW_TOKEN }} | ||
uses: senzing-factory/build-resources/.github/workflows/add-to-project.yaml@v1 | ||
with: | ||
classic: false | ||
project-number: ${{ vars.SENZING_PROJECT_GARAGE }} | ||
org: ${{ vars.SENZING_GITHUB_ACCOUNT_NAME }} |
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,12 +1,14 @@ | ||
name: dependabot-approve-and-merge.yaml | ||
name: dependabot approve and merge | ||
|
||
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 }} | ||
uses: senzing-factory/build-resources/.github/workflows/dependabot-approve-and-merge.yaml@v1 |
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,16 +1,25 @@ | ||
name: docker-build-container.yaml | ||
name: docker build container | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- main | ||
workflow_dispatch: | ||
|
||
jobs: | ||
docker-build-container: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Build docker image | ||
uses: senzing-factory/github-action-docker-buildx-build@latest | ||
- name: get repo name | ||
id: repo-basename | ||
run: | | ||
echo "repo=$(basename ${{ github.repository }})" >> "$GITHUB_OUTPUT" | ||
shell: bash | ||
|
||
- name: build docker image | ||
uses: senzing-factory/github-action-docker-buildx-build@v1 | ||
with: | ||
image-repository: senzing/validate | ||
image-repository: senzing/${{ steps.repo-basename.outputs.repo }} | ||
password: ${{ secrets.DOCKERHUB_ACCESS_TOKEN }} | ||
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
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
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
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,17 @@ | ||
name: lint workflows | ||
|
||
on: | ||
push: | ||
branches-ignore: [main] | ||
pull_request: | ||
branches: [main] | ||
|
||
permissions: | ||
contents: read | ||
packages: read | ||
pull-requests: read | ||
statuses: write | ||
|
||
jobs: | ||
lint-workflows: | ||
uses: senzing-factory/build-resources/.github/workflows/lint-workflows.yaml@v1 |
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
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,17 @@ | ||
name: move pr to done dependabot | ||
|
||
on: | ||
pull_request: | ||
branches: [main] | ||
types: [closed] | ||
|
||
permissions: | ||
repository-projects: write | ||
|
||
jobs: | ||
move-pr-to-done-dependabot: | ||
secrets: | ||
SENZING_GITHUB_PROJECT_RW_TOKEN: ${{ secrets.SENZING_GITHUB_PROJECT_RW_TOKEN }} | ||
uses: senzing-factory/build-resources/.github/workflows/move-pr-to-done-dependabot.yaml@v1 | ||
with: | ||
project: ${{ vars.SENZING_PROJECT_GARAGE }} |
Oops, something went wrong.