mirror of
https://github.com/PlaneQuery/OpenAirframes.git
synced 2026-08-12 19:10:17 +02:00
add needed permissions
This commit is contained in:
@@ -4,6 +4,9 @@ on:
|
|||||||
issues:
|
issues:
|
||||||
types: [opened, edited]
|
types: [opened, edited]
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
issues: write
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
validate:
|
validate:
|
||||||
if: contains(github.event.issue.labels.*.name, 'submission')
|
if: contains(github.event.issue.labels.*.name, 'submission')
|
||||||
@@ -20,6 +23,13 @@ jobs:
|
|||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: pip install jsonschema
|
run: pip install jsonschema
|
||||||
|
|
||||||
|
- name: Debug issue body
|
||||||
|
run: |
|
||||||
|
echo "=== Issue Body ==="
|
||||||
|
cat << 'ISSUE_BODY_EOF'
|
||||||
|
${{ github.event.issue.body }}
|
||||||
|
ISSUE_BODY_EOF
|
||||||
|
|
||||||
- name: Validate submission
|
- name: Validate submission
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|||||||
Reference in New Issue
Block a user