Confluence connector: Please import Confluence page labels for each page #4
This file contains 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: Label Community Issues | |
on: | |
issues: | |
types: [opened] | |
jobs: | |
run-python-script: | |
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.10' | |
- name: Install dependencies | |
run: python3 -m pip install aiohttp gidgethub | |
- name: Run Python script | |
run: python .github/workflows/scripts/label_community_issues.py | |
env: | |
ACTOR: ${{ github.actor }} | |
NUMBER: ${{ github.event.issue.number }} | |
REPO: ${{ github.repository }} | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |