Skip to content

Commit

Permalink
ci: update names and change triggers
Browse files Browse the repository at this point in the history
  • Loading branch information
dbhart authored Oct 23, 2024
1 parent 2ed0678 commit a41826e
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 14 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ name: "CodeQL Advanced"
on:
push:
branches: [ "main" ]
paths:
- '.github/workflows/codeql.yml'
- '**/*.py'
- '**/*.cpp'
- '**/*.hpp'
pull_request:
branches: [ "main" ]
schedule:
Expand Down
18 changes: 8 additions & 10 deletions .github/workflows/continuous-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@
name: Check release

on:
push:
pull_request:
workflow_dispatch:

permissions:
contents: read
Expand All @@ -17,7 +15,6 @@ jobs:

permissions:
id-token: write
contents: write
pull-requests: write

steps:
Expand All @@ -41,8 +38,9 @@ jobs:
# Adjust tag with desired version if applicable.
uses: python-semantic-release/python-semantic-release@657118d28ae4a74d8a387bedf5db2bb7bac0cb33 # v9.11.1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
build: false
changelog: false
changelog: true
commit: false
push: false
tag: false
Expand All @@ -51,9 +49,9 @@ jobs:
- name: Action | Comment on PR with new version
run: |
echo "## The results of python-semantic-release are below." | tee -a "$GITHUB_STEP_SUMMARY"
echo "* released: ${{ github.check.outputs.released }}" | tee -a "$GITHUB_STEP_SUMMARY"
echo "* is_prerelease: ${{ github.check.outputs.is_prerelease }}" | tee -a "$GITHUB_STEP_SUMMARY"
echo "* version: ${{ github.check.outputs.version }}" | tee -a "$GITHUB_STEP_SUMMARY"
echo "* tag: ${{ github.check.outputs.tag }}" | tee -a "$GITHUB_STEP_SUMMARY"
# echo "The release number should be ${{ github.check.outputs.version }}" >> release.md
# gh pr comment ${{ github.event.pull_request.number }} --body "This PR should include a release: ${{ steps.check.outputs.released }}\n"
echo "* released: ${{ steps.check.outputs.released }}" | tee -a "$GITHUB_STEP_SUMMARY"
echo "* is_prerelease: ${{ steps.check.outputs.is_prerelease }}" | tee -a "$GITHUB_STEP_SUMMARY"
echo "* version: ${{ steps.check.outputs.version }}" | tee -a "$GITHUB_STEP_SUMMARY"
echo "* tag: ${{ steps.check.outputs.tag }}" | tee -a "$GITHUB_STEP_SUMMARY"
# echo "The release number should be ${{ steps.check.outputs.version }}" >> release.md
gh pr comment ${{ github.event.pull_request.number }} --body "This PR should include a release: ${{ steps.check.outputs.released }}\n"
2 changes: 1 addition & 1 deletion .github/workflows/test-linux.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: ubuntu // CPython 3.93.12
name: ubuntu // CPython 3.9--3.12

on:
push:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-macOS_arm.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: macOS-14 // CPython 3.93.12
name: macOS-14 // CPython 3.9--3.12

on:
push:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-macOS_intel.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: macOS-13 // CPython 3.93.12
name: macOS-13 // CPython 3.9--3.12

on:
push:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-windows.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: windows // CPython 3.93.12
name: windows // CPython 3.9--3.12

on:
push:
Expand Down

0 comments on commit a41826e

Please sign in to comment.