mirror of
https://github.com/pyTooling/Actions.git
synced 2026-02-12 02:56:56 +08:00
Use secrets: inherit.
This commit is contained in:
1
.github/workflows/CompletePipeline.yml
vendored
1
.github/workflows/CompletePipeline.yml
vendored
@@ -327,6 +327,7 @@ jobs:
|
|||||||
actions: write
|
actions: write
|
||||||
with:
|
with:
|
||||||
tag: ${{ needs.Prepare.outputs.version }}
|
tag: ${{ needs.Prepare.outputs.version }}
|
||||||
|
secrets: inherit
|
||||||
|
|
||||||
PublishOnPyPI:
|
PublishOnPyPI:
|
||||||
uses: pyTooling/Actions/.github/workflows/PublishOnPyPI.yml@dev
|
uses: pyTooling/Actions/.github/workflows/PublishOnPyPI.yml@dev
|
||||||
|
|||||||
11
.github/workflows/_Checking_JobTemplates.yml
vendored
11
.github/workflows/_Checking_JobTemplates.yml
vendored
@@ -115,9 +115,7 @@ jobs:
|
|||||||
coverage_report_html_directory: ${{ needs.ConfigParams.outputs.coverage_report_html_directory }}
|
coverage_report_html_directory: ${{ needs.ConfigParams.outputs.coverage_report_html_directory }}
|
||||||
codecov: true
|
codecov: true
|
||||||
codacy: true
|
codacy: true
|
||||||
secrets:
|
secrets: inherit
|
||||||
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
|
|
||||||
CODACY_TOKEN: ${{ secrets.CODACY_PROJECT_TOKEN }}
|
|
||||||
|
|
||||||
PublishTestResults:
|
PublishTestResults:
|
||||||
uses: pyTooling/Actions/.github/workflows/PublishTestResults.yml@dev
|
uses: pyTooling/Actions/.github/workflows/PublishTestResults.yml@dev
|
||||||
@@ -132,8 +130,7 @@ jobs:
|
|||||||
merged_junit_artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).unittesting_xml }}
|
merged_junit_artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).unittesting_xml }}
|
||||||
codecov: true
|
codecov: true
|
||||||
dorny: true
|
dorny: true
|
||||||
secrets:
|
secrets: inherit
|
||||||
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
|
|
||||||
|
|
||||||
# VerifyDocs:
|
# VerifyDocs:
|
||||||
# uses: pyTooling/Actions/.github/workflows/VerifyDocs.yml@dev
|
# uses: pyTooling/Actions/.github/workflows/VerifyDocs.yml@dev
|
||||||
@@ -225,6 +222,7 @@ jobs:
|
|||||||
actions: write
|
actions: write
|
||||||
with:
|
with:
|
||||||
tag: ${{ needs.Prepare.outputs.version }}
|
tag: ${{ needs.Prepare.outputs.version }}
|
||||||
|
secrets: inherit
|
||||||
|
|
||||||
PublishOnPyPI:
|
PublishOnPyPI:
|
||||||
uses: pyTooling/Actions/.github/workflows/PublishOnPyPI.yml@dev
|
uses: pyTooling/Actions/.github/workflows/PublishOnPyPI.yml@dev
|
||||||
@@ -237,8 +235,7 @@ jobs:
|
|||||||
python_version: ${{ needs.UnitTestingParams.outputs.python_version }}
|
python_version: ${{ needs.UnitTestingParams.outputs.python_version }}
|
||||||
requirements: -r dist/requirements.txt
|
requirements: -r dist/requirements.txt
|
||||||
artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).package_all }}
|
artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).package_all }}
|
||||||
secrets:
|
secrets: inherit
|
||||||
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
|
|
||||||
|
|
||||||
ArtifactCleanUp:
|
ArtifactCleanUp:
|
||||||
uses: pyTooling/Actions/.github/workflows/ArtifactCleanUp.yml@dev
|
uses: pyTooling/Actions/.github/workflows/ArtifactCleanUp.yml@dev
|
||||||
|
|||||||
@@ -13,7 +13,4 @@ jobs:
|
|||||||
codecov: true
|
codecov: true
|
||||||
codacy: true
|
codacy: true
|
||||||
dorny: true
|
dorny: true
|
||||||
secrets:
|
secrets: inherit
|
||||||
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
|
|
||||||
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
|
|
||||||
CODACY_PROJECT_TOKEN: ${{ secrets.CODACY_PROJECT_TOKEN }}
|
|
||||||
|
|||||||
6
.github/workflows/_Checking_Nightly.yml
vendored
6
.github/workflows/_Checking_Nightly.yml
vendored
@@ -45,11 +45,9 @@ jobs:
|
|||||||
uses: ./.github/workflows/NightlyRelease.yml
|
uses: ./.github/workflows/NightlyRelease.yml
|
||||||
needs:
|
needs:
|
||||||
- Build
|
- Build
|
||||||
secrets: inherit
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
actions: write
|
actions: write
|
||||||
# attestations: write
|
|
||||||
with:
|
with:
|
||||||
can-fail: true
|
can-fail: true
|
||||||
prerelease: true
|
prerelease: true
|
||||||
@@ -78,16 +76,15 @@ jobs:
|
|||||||
document:$archive7.tar.gz: Archive 7 - tar.gz + dir
|
document:$archive7.tar.gz: Archive 7 - tar.gz + dir
|
||||||
document:$archive8.tzst: Archive 8 - tzst + dir
|
document:$archive8.tzst: Archive 8 - tzst + dir
|
||||||
document:$archive9.tar.zst:Archive 9 - tar.zst + dir
|
document:$archive9.tar.zst:Archive 9 - tar.zst + dir
|
||||||
|
secrets: inherit
|
||||||
|
|
||||||
NightlyPageWithInventory:
|
NightlyPageWithInventory:
|
||||||
uses: ./.github/workflows/NightlyRelease.yml
|
uses: ./.github/workflows/NightlyRelease.yml
|
||||||
needs:
|
needs:
|
||||||
- Build
|
- Build
|
||||||
secrets: inherit
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
actions: write
|
actions: write
|
||||||
# attestations: write
|
|
||||||
with:
|
with:
|
||||||
can-fail: true
|
can-fail: true
|
||||||
replacements: |
|
replacements: |
|
||||||
@@ -121,3 +118,4 @@ jobs:
|
|||||||
document:$archive7.tar.gz: Archive 7 - tar.gz + dir
|
document:$archive7.tar.gz: Archive 7 - tar.gz + dir
|
||||||
document:$archive8.tzst: Archive 8 - tzst + dir
|
document:$archive8.tzst: Archive 8 - tzst + dir
|
||||||
document:$archive9.tar.zst: Archive 9 - tar.zst + dir
|
document:$archive9.tar.zst: Archive 9 - tar.zst + dir
|
||||||
|
secrets: inherit
|
||||||
|
|||||||
@@ -13,7 +13,4 @@ jobs:
|
|||||||
codacy: true
|
codacy: true
|
||||||
dorny: true
|
dorny: true
|
||||||
cleanup: false
|
cleanup: false
|
||||||
secrets:
|
secrets: inherit
|
||||||
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
|
|
||||||
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
|
|
||||||
CODACY_PROJECT_TOKEN: ${{ secrets.CODACY_PROJECT_TOKEN }}
|
|
||||||
|
|||||||
Reference in New Issue
Block a user