This repository has been archived by the owner on Sep 27, 2024. It is now read-only.
Platform code cannot differentiate between a new line placeholder and an user provided single space node #39
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 | |
on: | |
issues: | |
types: [opened] | |
jobs: | |
move_element_x_issues: | |
name: Label new issues created with 'A-Rich-Text-Editor' for use on our board | |
runs-on: ubuntu-latest | |
# Skip in forks | |
if: > | |
github.repository == 'matrix-org/matrix-rich-text-editor' | |
steps: | |
- uses: actions/github-script@v5 | |
with: | |
script: | | |
github.rest.issues.addLabels({ | |
issue_number: context.issue.number, | |
owner: context.repo.owner, | |
repo: context.repo.repo, | |
labels: ['A-Rich-Text-Editor'] | |
}) | |
env: | |
PROJECT_ID: "PVT_kwDOAM0swc4AHJKW" | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |