diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index d68fe72..c94f448 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -1,21 +1,21 @@ -name: Python CI -on: - push: - branches: [ main ] - pull_request: - branches: [ main ] - release: - types: [created] - workflow_dispatch: - -jobs: - validation: - uses: microsoft/action-python/.github/workflows/validation.yml@0.7.0 - with: - workdir: '.' - - publish: - uses: microsoft/action-python/.github/workflows/publish.yml@0.7.0 - secrets: - PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }} - TEST_PYPI_PASSWORD: ${{ secrets.TEST_PYPI_PASSWORD }} +name: Python CI +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + release: + types: [created] + workflow_dispatch: + +jobs: + validation: + uses: microsoft/action-python/.github/workflows/validation.yml@0.7.3 + with: + workdir: '.' + + publish: + uses: microsoft/action-python/.github/workflows/publish.yml@0.7.3 + secrets: + PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }} + TEST_PYPI_PASSWORD: ${{ secrets.TEST_PYPI_PASSWORD }} diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index ab27d67..0264afd 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,10 +1,10 @@ -name: Python Publish Workflow -on: - workflow_call: - -jobs: - publish: - uses: microsoft/action-python/.github/workflows/publish.yml@0.7.0 - secrets: - PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }} - TEST_PYPI_PASSWORD: ${{ secrets.TEST_PYPI_PASSWORD }} +name: Python Publish Workflow +on: + workflow_call: + +jobs: + publish: + uses: microsoft/action-python/.github/workflows/publish.yml@0.7.3 + secrets: + PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }} + TEST_PYPI_PASSWORD: ${{ secrets.TEST_PYPI_PASSWORD }} diff --git a/.github/workflows/schedule-update-actions.yml b/.github/workflows/schedule-update-actions.yml index c11af70..fb6c720 100644 --- a/.github/workflows/schedule-update-actions.yml +++ b/.github/workflows/schedule-update-actions.yml @@ -1,25 +1,25 @@ -name: GitHub Actions Version Updater - -# Controls when the action will run. -on: - workflow_dispatch: - schedule: - # Automatically run on every Sunday - - cron: '0 0 * * 0' - -jobs: - build: - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v3.5.2 - with: - # [Required] Access token with `workflow` scope. - token: ${{ secrets.PAT }} - - - name: Run GitHub Actions Version Updater - uses: saadmk11/github-actions-version-updater@v0.7.4 - with: - # [Required] Access token with `workflow` scope. - token: ${{ secrets.PAT }} - pull_request_title: "ci: Update GitHub Actions to Latest Version" +name: GitHub Actions Version Updater + +# Controls when the action will run. +on: + workflow_dispatch: + schedule: + # Automatically run on every Sunday + - cron: '0 0 * * 0' + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4.2.2 + with: + # [Required] Access token with `workflow` scope. + token: ${{ secrets.PAT }} + + - name: Run GitHub Actions Version Updater + uses: saadmk11/github-actions-version-updater@v0.8.1 + with: + # [Required] Access token with `workflow` scope. + token: ${{ secrets.PAT }} + pull_request_title: "ci: Update GitHub Actions to Latest Version" diff --git a/.github/workflows/semantic-pr-check.yml b/.github/workflows/semantic-pr-check.yml index 4e77eee..856ea3b 100644 --- a/.github/workflows/semantic-pr-check.yml +++ b/.github/workflows/semantic-pr-check.yml @@ -1,17 +1,17 @@ -name: "Semantic PR Check" - -on: - pull_request_target: - types: - - opened - - edited - - synchronize - -jobs: - main: - name: Validate PR title - runs-on: ubuntu-latest - steps: - - uses: amannn/action-semantic-pull-request@v5.2.0 - env: - GITHUB_TOKEN: ${{ secrets.SEMANTIC_TOKEN }} +name: "Semantic PR Check" + +on: + pull_request_target: + types: + - opened + - edited + - synchronize + +jobs: + main: + name: Validate PR title + runs-on: ubuntu-latest + steps: + - uses: amannn/action-semantic-pull-request@v5.5.3 + env: + GITHUB_TOKEN: ${{ secrets.SEMANTIC_TOKEN }} diff --git a/.github/workflows/template-sync.yml b/.github/workflows/template-sync.yml index b9d640d..cb66b18 100644 --- a/.github/workflows/template-sync.yml +++ b/.github/workflows/template-sync.yml @@ -1,12 +1,12 @@ -name: Template Sync -on: - workflow_dispatch: -jobs: - sync: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3.5.2 # important! - - uses: euphoricsystems/action-sync-template-repository@v2.5.1 - with: - github-token: ${{ secrets.SEMANTIC_TOKEN }} - dry-run: true +name: Template Sync +on: + workflow_dispatch: +jobs: + sync: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4.2.2 # important! + - uses: euphoricsystems/action-sync-template-repository@v2.5.1 + with: + github-token: ${{ secrets.SEMANTIC_TOKEN }} + dry-run: true