[Role][2168] support_mode role to gather all facts #2191
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Changelog Lint Check | |
| on: | |
| pull_request: | |
| types: [opened, synchronize, reopened, ready_for_review] | |
| paths: | |
| - 'changelogs/fragments/*' | |
| branches: | |
| - dev | |
| - staging* | |
| jobs: | |
| lint: | |
| if: github.event.pull_request.draft == false | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: 3.12 | |
| - name: Set up venv | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install virtualenv | |
| virtualenv venv | |
| - name: Install dependencies | |
| run: | | |
| source venv/bin/activate | |
| pip install antsibull-changelog | |
| - name: Run antsibull-changelog | |
| run: | | |
| source venv/bin/activate | |
| antsibull-changelog lint |