generated from actions/container-action
-
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.
senzing-factory/build-resources#69 add linting
- Loading branch information
Showing
6 changed files
with
47 additions
and
13 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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: 'add labels standardized' | ||
name: add labels standardized | ||
|
||
on: | ||
issues: | ||
|
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,14 +1,13 @@ | ||
name: 'add to project factory dependabot' | ||
name: add to project factory dependabot | ||
|
||
on: | ||
pull_request: | ||
branches: [main] | ||
|
||
jobs: | ||
|
||
add-issue-labels: | ||
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 | ||
uses: senzing-factory/build-resources/.github/workflows/add-to-project-dependabot.yaml@v1 | ||
with: | ||
project: ${{ vars.SENZING_PROJECT_FACTORY }} |
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,18 +1,25 @@ | ||
name: 'docker build container' | ||
name: docker build container | ||
|
||
on: [push] | ||
|
||
jobs: | ||
docker-build-container: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Build docker image | ||
uses: Senzing/github-action-docker-buildx-build@v1 | ||
- 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: | ||
build-options: "--build-arg \"GITHUB_HEAD_REF=${GITHUB_HEAD_REF:-${GITHUB_REF##*/}}\" \ | ||
--build-arg \"GITHUB_EVENT_NAME=${GITHUB_EVENT_NAME}\" " | ||
context: build/docker | ||
image-repository: senzing-factory/git-action-slack-notification | ||
image-repository: senzing-factory/${{ steps.repo-basename.outputs.repo }} | ||
image-tag: ${{ github.ref_name }} | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
name: lint repo | ||
|
||
on: | ||
push: | ||
branches-ignore: [main] | ||
pull_request: | ||
branches: [main] | ||
|
||
jobs: | ||
lint-code-base: | ||
uses: senzing-factory/build-resources/.github/workflows/linter.yaml@v1 | ||
with: | ||
validate-all-codebase: true |
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,14 @@ | ||
name: move pr to done dependabot | ||
|
||
on: | ||
pull_request: | ||
branches: [main] | ||
types: [closed] | ||
|
||
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_FACTORY }} |