Make thermite breaching charges use chemfire #38688
Workflow file for this run
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: "Post Labeled PRs to the Forum" | |
on: | |
pull_request_target: | |
types: [labeled, closed, edited, reopened] | |
jobs: | |
post-to-forums: | |
runs-on: ubuntu-latest | |
if: ${{ github.repository == 'goonstation/goonstation' && (github.event.action == 'labeled' && github.event.label.name == 'E-Input-Wanted' || github.event.action != 'labeled' && contains(github.event.pull_request.labels.*.name, 'E-Input-Wanted')) }} | |
steps: | |
- name: Get requirements.txt | |
uses: actions/checkout@v4 | |
with: | |
sparse-checkout: ".github" | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.10" | |
cache: pip | |
- name: Install dependencies | |
run: | | |
pip install -r .github/workflows/requirements.txt | |
- name: Post the thread | |
run: | | |
python .github/post_to_forums.py | |
env: | |
TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
REPO: ${{ github.repository }} | |
FORUM_URL: "https://forum.ss13.co" | |
FORUM_PASSWORD: ${{ secrets.FORUM_PASSWORD }} | |
FORUM_USERNAME: "github_bot" | |
SUBFORUM_ID: 8 # Ideas & Suggestions | |
POST_ICON: 11 # ℹ | |
POST_ICON_CLOSED: 18 # 👎 | |
POST_ICON_MERGED: 19 # 👍 | |
SUBJECT_PREFIX: "[PR] " | |
SUBJECT_PREFIX_CLOSED: "[CLOSED PR] " | |
SUBJECT_PREFIX_MERGED: "[MERGED PR] " | |
PR_TITLE: ${{ github.event.pull_request.title }} | |
PR_BODY: ${{ github.event.pull_request.body }} | |
PR_URL: ${{ github.event.pull_request.html_url }} | |
PR_NUM: ${{ github.event.pull_request.number }} | |
PR_STATE: ${{ github.event.pull_request.state }} | |
PR_MERGED: ${{ github.event.pull_request.merged }} |