fix security issue: untrusted ci output
This commit is contained in:
parent
f84848226d
commit
650fb1aa51
2 changed files with 3 additions and 3 deletions
2
.github/workflows/issue.yml
vendored
2
.github/workflows/issue.yml
vendored
|
@ -12,8 +12,6 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
name: Auto-assign new issues to projects
|
||||
steps:
|
||||
- run: echo "${{github.event.issue.title}}"
|
||||
|
||||
- name: Assign Bugs to the Bug Tracker
|
||||
uses: srggrs/assign-one-project-github-action@1.2.1
|
||||
if: github.event.action == 'opened' && startsWith(github.event.issue.title, '🐛 BUG:')
|
||||
|
|
4
.github/workflows/main.yml
vendored
4
.github/workflows/main.yml
vendored
|
@ -20,8 +20,10 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- id: setup
|
||||
env:
|
||||
MESSAGE: ${{ github.event.commits[0].message }}
|
||||
run: |
|
||||
TRIMMED=$(echo "${{ github.event.commits[0].message }}" | sed '1!d;q')
|
||||
TRIMMED=$(echo "$MESSAGE" | sed '1!d;q')
|
||||
echo "::set-output name=COMMIT_MSG::${TRIMMED}"
|
||||
- name: Send a Discord notification when a PR is merged
|
||||
env:
|
||||
|
|
Loading…
Reference in a new issue