Skip to content

fix: remove rbash — too restrictive for practical use #4

fix: remove rbash — too restrictive for practical use

fix: remove rbash — too restrictive for practical use #4

Workflow file for this run

# -------------------------------------------------------------------
# ------------------------------- WARNING ---------------------------
# -------------------------------------------------------------------
#
# This file was automatically generated by gh-workflows using the
# gh-workflow-gen bin. You should add and commit this file to your
# git repository. **DO NOT EDIT THIS FILE BY HAND!** Any manual changes
# will be lost if the file is regenerated.
#
# To make modifications, update your `build.rs` configuration to adjust
# the workflow description as needed, then regenerate this file to apply
# those changes.
#
# -------------------------------------------------------------------
# ----------------------------- END WARNING -------------------------
# -------------------------------------------------------------------
name: Bounty Management
'on':
issues:
types:
- assigned
- unassigned
- labeled
- unlabeled
pull_request:
types:
- opened
- edited
- reopened
pull_request_target:
types:
- closed
permissions:
issues: write
pull-requests: write
jobs:
sync-issue:
name: Sync issue bounty labels
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install npm packages
run: npm install
- name: Sync bounty labels
run: npx tsx .github/scripts/bounty/src/sync-issue.ts --issue ${{ github.event.issue.number }} --repo ${{ github.repository }} --token ${{ secrets.GITHUB_TOKEN }}
sync-pr:
name: Sync PR bounty labels
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install npm packages
run: npm install
- name: Sync bounty labels
run: npx tsx .github/scripts/bounty/src/sync-pr.ts --pr ${{ github.event.pull_request.number }} --repo ${{ github.repository }} --token ${{ secrets.GITHUB_TOKEN }}