mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-04 16:34:47 +01:00
![dependabot[bot]](/assets/img/avatar_default.png)
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4 to 5. - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](https://github.com/actions/setup-python/compare/v4...v5) --- updated-dependencies: - dependency-name: actions/setup-python dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
32 lines
809 B
YAML
32 lines
809 B
YAML
name: Check News Item
|
|
|
|
on:
|
|
pull_request_target:
|
|
branches:
|
|
- main
|
|
|
|
permissions:
|
|
pull-requests: write
|
|
contents: read
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
name: Check News item
|
|
steps:
|
|
|
|
# note: the checkout will pull code from the base branch. This step should not pull code from the merge commit
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Setup Python
|
|
uses: actions/setup-python@v5
|
|
with:
|
|
python-version: '3.9'
|
|
cache: 'pip'
|
|
cache-dependency-path: 'pyproject.toml'
|
|
- run: pip install PyGithub
|
|
- run: python .github/workflows/check-news.py
|
|
env:
|
|
PR_NUMBER: "${{ github.event.number }}"
|
|
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
|
GITHUB_REPOSITORY: "${{ env.GITHUB_REPOSITORY }}"
|