Skip to content

file browser javascript errors #1389

file browser javascript errors

file browser javascript errors #1389

name: Issue Lifecycle
# Run this action when an issue is opened
on:
issues:
types: [opened]
jobs:
# If the created issue does not have a milestone attached to it, assign the issue to the "Needs Triaged" milestone
assign-milestone:
runs-on: ubuntu-latest
steps:
- name: Put in the backlog milestone if no milestone is defined.
if: github.event.issue.milestone == null
# Set environment
env:
MILESTONE_ID: 5
run: |
curl --silent --output /dev/null --request PATCH \
--url https://api.github.com/repos/${{ github.repository }}/issues/${{ github.event.issue.number }} \
--header 'authorization: token ${{ secrets.OSC_ROBOT_GH_PUB_REPO_TOKEN }}' \
--header 'content-type: application/json' \
--data '{
"milestone": "'$MILESTONE_ID'"
}'