java.lang.IllegalStateException: Write actions are prohibited #5062
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: "Youtrack Issue Linker" | |
on: | |
issues: | |
types: | |
- opened | |
- edited | |
issue_comment: | |
types: | |
- created | |
- edited | |
pull_request: | |
types: | |
- opened | |
- edited | |
pull_request_review: | |
types: | |
- submitted | |
- edited | |
pull_request_review_comment: | |
types: | |
- created | |
- edited | |
jobs: | |
add-youtrack-issue-links: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install dependencies | |
run: | | |
cd ./.github/actions/insert-youtrack-link | |
npm install | |
- id: replace | |
uses: ./.github/actions/insert-youtrack-link | |
with: | |
issue-prefix: 'TEX' | |
youtrack-base-url: 'https://texify-idea.myjetbrains.com/youtrack' | |
repo-token: ${{ secrets.GITHUB_TOKEN }} |