diff --git a/.github/workflows/add-labels-standardized.yaml b/.github/workflows/add-labels-standardized.yaml index c20a712..1360a67 100644 --- a/.github/workflows/add-labels-standardized.yaml +++ b/.github/workflows/add-labels-standardized.yaml @@ -1,4 +1,4 @@ -name: 'add labels standardized' +name: add labels standardized on: issues: diff --git a/.github/workflows/add-to-project-factory-dependabot.yaml b/.github/workflows/add-to-project-factory-dependabot.yaml index d69ab7d..56f1cf4 100644 --- a/.github/workflows/add-to-project-factory-dependabot.yaml +++ b/.github/workflows/add-to-project-factory-dependabot.yaml @@ -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 }} diff --git a/.github/workflows/add-to-project-factory.yaml b/.github/workflows/add-to-project-factory.yaml index f3396b9..e6bf67b 100644 --- a/.github/workflows/add-to-project-factory.yaml +++ b/.github/workflows/add-to-project-factory.yaml @@ -1,4 +1,4 @@ -name: 'add to project garage' +name: add to project factory on: issues: @@ -8,11 +8,12 @@ on: jobs: add-to-project: - name: Add issue to project + name: add issue to project runs-on: ubuntu-latest + steps: - - name: Assign issue to project + - name: assign issue to project uses: actions/add-to-project@v0.5.0 with: - project-url: https://github.com/orgs/${{ vars.SENZING_GITHUB_ACCOUNT_NAME }}/projects/${{ vars.SENZING_PROJECT_FACTORY }} github-token: ${{ secrets.SENZING_GITHUB_ACCESS_TOKEN }} + project-url: https://github.com/orgs/${{ vars.SENZING_GITHUB_ACCOUNT_NAME }}/projects/${{ vars.SENZING_PROJECT_FACTORY }} diff --git a/.github/workflows/build-docker-container.yaml b/.github/workflows/build-docker-container.yaml index d5f7de4..5de88a5 100644 --- a/.github/workflows/build-docker-container.yaml +++ b/.github/workflows/build-docker-container.yaml @@ -1,21 +1,22 @@ -name: build-docker-container.yaml -on: - pull_request: - branches: - - main - workflow_dispatch: +name: docker build container + +on: [push] + jobs: - buildDockerContainer: - name: Build Docker container + docker-build-container: runs-on: ubuntu-latest + steps: - - name: Checkout repository - uses: actions/checkout@v4 + - 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: - fetch-depth: '0' - - name: Print environment variables - run: printenv - - name: Git Merge With Main - run: git merge origin/main - - name: Build Docker container - run: make docker-build + image-repository: senzing-factory/${{ steps.repo-basename.outputs.repo }} + image-tag: ${{ github.ref_name }} + password: ${{ secrets.DOCKERHUB_ACCESS_TOKEN }} + username: ${{ secrets.DOCKERHUB_USERNAME }} diff --git a/.github/workflows/lint-repo.yaml b/.github/workflows/lint-repo.yaml new file mode 100644 index 0000000..858906b --- /dev/null +++ b/.github/workflows/lint-repo.yaml @@ -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