Skip to content

ci: change days-before-stale setting (#388) #255

ci: change days-before-stale setting (#388)

ci: change days-before-stale setting (#388) #255

Workflow file for this run

name: CI
on:
push:
branches: [main]
concurrency:
group: ci-${{ github.head_ref }}
cancel-in-progress: true
env:
PYTHONUNBUFFERED: 1
FORCE_COLOR: 1
permissions:
contents: read
jobs:
test:
uses: ./.github/workflows/test.yml
secrets: inherit
release:
# disables this workflow from running in a repository that is not part of the indicated organization/user
if: github.repository_owner == 'afuetterer'
runs-on: ubuntu-24.04
needs:
- test
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
fetch-depth: 0 # get all commits and tags
token: ${{ secrets.SEMANTIC_RELEASE_TOKEN }}
- name: Create semantic release
id: release
uses: python-semantic-release/python-semantic-release@dec06aa649fddae6610bc64878868498bfcbad7b # v9.8.6
with:
# allows for python-semantic-release to push to protected main branch
github_token: ${{ secrets.SEMANTIC_RELEASE_TOKEN }}
- name: Publish package to GitHub Release
uses: python-semantic-release/upload-to-gh-release@0dcddac3ba7b691d7a3fd4586b640d7b214a0016
if: ${{ steps.release.outputs.released }} == 'true'
with:
github_token: ${{ secrets.SEMANTIC_RELEASE_TOKEN }}