Skip to content

Commit deae618

Browse files
authored
github: Fix code scanning alerts (#305)
* github: Use new self-repository syntax * github: Suppress dangerous-triggers error for sync_github_issues_to_azdo.yml * github: Update gh-action-pypi-publish to v1.14.3
1 parent 8ef370f commit deae618

4 files changed

Lines changed: 11 additions & 11 deletions

File tree

‎.github/workflows/CI.yml‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ permissions: {}
1313
jobs:
1414
check_nitypes:
1515
name: Check nitypes
16-
uses: ./.github/workflows/check_nitypes.yml
16+
uses: $/.github/workflows/check_nitypes.yml
1717
check_docs:
1818
name: Check docs
19-
uses: ./.github/workflows/check_docs.yml
19+
uses: $/.github/workflows/check_docs.yml
2020
check_workflows:
2121
name: Check workflows
22-
uses: ./.github/workflows/check_workflows.yml
22+
uses: $/.github/workflows/check_workflows.yml
2323
permissions:
2424
security-events: write
2525
checks_succeeded:
@@ -30,15 +30,15 @@ jobs:
3030
- run: exit 0
3131
run_unit_tests:
3232
name: Run unit tests
33-
uses: ./.github/workflows/run_unit_tests.yml
33+
uses: $/.github/workflows/run_unit_tests.yml
3434
needs: [checks_succeeded]
3535
run_unit_tests_oldest_deps:
3636
name: Run unit tests (oldest deps)
37-
uses: ./.github/workflows/run_unit_tests_oldest_deps.yml
37+
uses: $/.github/workflows/run_unit_tests_oldest_deps.yml
3838
needs: [checks_succeeded]
3939
report_test_results:
4040
name: Report test results
41-
uses: ./.github/workflows/report_test_results.yml
41+
uses: $/.github/workflows/report_test_results.yml
4242
needs: [run_unit_tests, run_unit_tests_oldest_deps]
4343
if: always()
4444
permissions:

‎.github/workflows/PR.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ permissions: {}
1717
jobs:
1818
run_ci:
1919
name: Run CI
20-
uses: ./.github/workflows/CI.yml
20+
uses: $/.github/workflows/CI.yml
2121
permissions:
2222
contents: read
2323
checks: write

‎.github/workflows/publish.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ permissions: {}
3535
jobs:
3636
check_nitypes:
3737
name: Check nitypes
38-
uses: ./.github/workflows/check_nitypes.yml
38+
uses: $/.github/workflows/check_nitypes.yml
3939
check_docs:
4040
name: Check docs
41-
uses: ./.github/workflows/check_docs.yml
41+
uses: $/.github/workflows/check_docs.yml
4242
build_nitypes:
4343
name: Build nitypes
4444
runs-on: ubuntu-latest
@@ -83,7 +83,7 @@ jobs:
8383
path: dist/
8484
- run: ls -lR
8585
- name: Upload to ${{ env.environment }}
86-
uses: pypa/gh-action-pypi-publish@dc37677b2e1c63e2034f94d8a5b11f265b73ba33 # v1.14.2
86+
uses: pypa/gh-action-pypi-publish@7245906fb61fa33a13554f9d5fb856fe61758086 # v1.14.3
8787
with:
8888
repository-url: ${{ fromJson(env.environment-info)[env.environment].upload-url }}
8989
update_version:

‎.github/workflows/sync_github_issues_to_azdo.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
# Omit "labeled" and "unlabeled" to work around https://github.com/danhellem/github-actions-issue-to-work-item/issues/70
66
types:
77
[opened, edited, deleted, closed, reopened, assigned]
8-
issue_comment:
8+
issue_comment: # zizmor: ignore[dangerous-triggers] # does not checkout repo or run any code other than danhellem/github-actions-issue-to-work-item
99
types: [created, edited, deleted]
1010

1111
permissions: {}

0 commit comments

Comments
 (0)