feat: add PyPI links to artifacts and auto-deploy GH Pages #18
Workflow file for this run
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: PR Admin | |
| on: | |
| pull_request: | |
| types: [opened, synchronize] | |
| jobs: | |
| label: | |
| name: Auto-label PR | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v6 | |
| - name: Label PR based on changed files | |
| uses: actions/labeler@v5 | |
| with: | |
| repo-token: ${{ secrets.GITHUB_TOKEN }} | |
| add-to-project: | |
| name: Add to project board | |
| runs-on: ubuntu-latest | |
| # Disabled until PROJECT_TOKEN secret is configured at org level | |
| # See: https://github.com/DiamondLightSource/smartem-devtools/issues/121 | |
| if: false | |
| permissions: | |
| contents: read | |
| steps: | |
| - name: Add PR to SmartEM project | |
| uses: actions/add-to-project@v1.0.2 | |
| with: | |
| project-url: https://github.com/orgs/DiamondLightSource/projects/51 | |
| github-token: ${{ secrets.PROJECT_TOKEN }} |