Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
kernelsam authored Feb 2, 2024
1 parent f88b42f commit 10db950
Show file tree
Hide file tree
Showing 9 changed files with 25 additions and 22 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/add-labels-standardized.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: 'add labels standardized'
name: add labels standardized

on:
issues:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/add-to-project-g2-python-dependabot.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: 'add to project g2 python dependabot'
name: add to project g2 python dependabot

on:
pull_request:
Expand All @@ -9,6 +9,6 @@ jobs:
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_G2_PYTHON }}
8 changes: 4 additions & 4 deletions .github/workflows/add-to-project-g2-python.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: 'add to project g2 python'
name: add to project g2 python

on:
issues:
Expand All @@ -8,11 +8,11 @@ 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_G2_PYTHON }}
project-url: https://github.com/orgs/${{ github.repository_owner }}/projects/${{ vars.SENZING_PROJECT_G2_PYTHON }}
github-token: ${{ secrets.SENZING_GITHUB_ACCESS_TOKEN }}
4 changes: 2 additions & 2 deletions .github/workflows/add-to-project-garage-dependabot.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: 'add to project garage dependabot'
name: add to project garage dependabot

on:
pull_request:
Expand All @@ -9,6 +9,6 @@ jobs:
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_GARAGE }}
8 changes: 4 additions & 4 deletions .github/workflows/add-to-project-garage.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: 'add to project garage'
name: add to project garage

on:
issues:
Expand All @@ -8,11 +8,11 @@ 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_GARAGE }}
project-url: https://github.com/orgs/${{ github.repository_owner }}/projects/${{ vars.SENZING_PROJECT_GARAGE }}
github-token: ${{ secrets.SENZING_GITHUB_ACCESS_TOKEN }}
6 changes: 4 additions & 2 deletions .github/workflows/dependabot-approve-and-merge.yaml
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
4 changes: 2 additions & 2 deletions .github/workflows/docker-build-container.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: 'docker build container'
name: docker build container

on:
pull_request:
Expand All @@ -10,7 +10,7 @@ jobs:
docker-build-container:
runs-on: ubuntu-latest
steps:
- name: Build docker image
- name: build docker image
uses: senzing-factory/github-action-docker-buildx-build@v1
with:
image-repository: senzing/test-ground
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint-workflows.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: 'lint workflows'
name: lint workflows

on:
push:
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/pylint.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: 'pylint'
name: pylint

on: [push]

Expand All @@ -10,16 +10,17 @@ jobs:
python-version: ["3.8", "3.9", "3.10"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}

- name: set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- name: Install dependencies
- name: install dependencies
run: |
python -m pip install --upgrade pip
pip install pylint
- name: Analysing the code with pylint
- name: analysing the code with pylint
run: |
pylint "$(git ls-files '*.py')"

0 comments on commit 10db950

Please sign in to comment.