-
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 pull request #87 from senzing-garage/senzing-factory/build-reso…
…urces#69 senzing-factory/build-resources#69 cleanup and add linting
- Loading branch information
Showing
12 changed files
with
111 additions
and
60 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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,16 @@ | ||
name: 'add labels standardized' | ||
|
||
on: | ||
issues: | ||
types: | ||
- opened | ||
- reopened | ||
|
||
jobs: | ||
add-issue-labels: | ||
permissions: | ||
issues: write | ||
secrets: | ||
ORG_MEMBERSHIP_TOKEN: ${{ secrets.ORG_MEMBERSHIP_TOKEN }} | ||
SENZING_MEMBERS: ${{ secrets.SENZING_MEMBERS }} | ||
uses: senzing-factory/build-resources/.github/workflows/add-labels-to-issue.yaml@v1 |
19 changes: 19 additions & 0 deletions
19
.github/workflows/add-to-project-g2-python-dependabot.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: 'add to project g2 python dependabot' | ||
|
||
on: | ||
pull_request: | ||
branches: [main] | ||
|
||
env: | ||
CREATOR: ${{ github.event.pull_request.user.login }} | ||
|
||
jobs: | ||
add-pr-to-project: | ||
if: ${{ github.actor == 'dependabot[bot]' && ( github.event.action == 'opened' || github.event.action == 'reopened' ) }} | ||
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 | ||
org: ${{ vars.SENZING_GITHUB_ACCOUNT_NAME }} | ||
project-number: ${{ vars.SENZING_PROJECT_G2_PYTHON }} |
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: 'add to project g2 python' | ||
|
||
on: | ||
issues: | ||
types: | ||
- opened | ||
- reopened | ||
|
||
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/${{ vars.SENZING_GITHUB_ACCOUNT_NAME }}/projects/${{ vars.SENZING_PROJECT_G2_PYTHON }} | ||
github-token: ${{ secrets.SENZING_GITHUB_ACCESS_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,21 +1,19 @@ | ||
name: add-to-project-garage-dependabot.yaml | ||
name: 'add to project garage dependabot' | ||
|
||
on: | ||
pull_request: | ||
types: | ||
- opened | ||
- reopened | ||
branches: [main] | ||
|
||
env: | ||
CREATOR: ${{ github.event.pull_request.user.login }} | ||
|
||
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/${{ env.SENZING_GITHUB_ACCOUNT_NAME }}/projects/${{ env.SENZING_PROJECT_GARAGE}} | ||
github-token: ${{ secrets.SENZING_GITHUB_ACCESS_TOKEN }} | ||
add-pr-to-project: | ||
if: ${{ github.actor == 'dependabot[bot]' && ( github.event.action == 'opened' || github.event.action == 'reopened' ) }} | ||
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 | ||
org: ${{ vars.SENZING_GITHUB_ACCOUNT_NAME }} | ||
project-number: ${{ 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
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,16 @@ | ||
name: 'lint workflows' | ||
|
||
on: | ||
push: | ||
branches-ignore: [main] | ||
pull_request: | ||
branches: [main] | ||
|
||
permissions: | ||
contents: read | ||
packages: 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
name: move-pr-to-done.yaml | ||
name: 'move pr to done' | ||
|
||
on: | ||
pull_request: | ||
types: [closed] | ||
|
||
jobs: | ||
move-pr-to-done: | ||
uses: senzing-factory/build-resources/.github/workflows/move-pr-to-done.yaml@main | ||
uses: senzing-factory/build-resources/.github/workflows/move-pr-to-done.yaml@v1 | ||
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