The icon for mattermost on the events does not show up #538
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: Generate project pages from project issues | |
on: | |
issues: | |
types: [opened, edited, deleted, closed, reopened, labeled, unlabeled] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.8' | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade --user pip | |
pip install -r requirements.txt | |
python --version | |
pip --version | |
pip list | |
- name: Run script to generate separate pages from issues | |
run: | | |
url="${GITHUB_API_URL}/repos/${GITHUB_REPOSITORY}/issues?per_page=100" | |
path="content/project" | |
echo "Project issues URL: " | |
echo $url | |
echo "Project pages destination directory: " | |
echo $path | |
transform_issues_to_pages.py $url $path | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v3 | |
with: | |
branch: publish-project | |
commit-message: Convert issues to project pages, yay! | |
assignees: SamGuay, complexbrains | |
- name: Check outputs | |
run: | | |
echo "Pull Request Number - ${{ steps.cpr.outputs.pull-request-number }}" | |
echo "Pull Request URL - ${{ steps.cpr.outputs.pull-request-url }}" |