Skip to content

[워크샵] 보유하지 않은 펫을 클릭하여 제작 시도가 가능한 현상 #769

[워크샵] 보유하지 않은 펫을 클릭하여 제작 시도가 가능한 현상

[워크샵] 보유하지 않은 펫을 클릭하여 제작 시도가 가능한 현상 #769

Workflow file for this run

name: set 9c project default fields
on:
issues:
types:
- opened
- reopened
pull_request:
types:
- opened
- reopened
jobs:
add-to-project:
name: Add To GitHub projects
runs-on: ubuntu-latest
steps:
- name: Add project
uses: actions/add-to-project@v1.0.2
with:
project-url: https://github.com/orgs/planetarium/projects/97
github-token: ${{ secrets.PROJECTS_PAT }}
- name: Set milestone env
run: |
echo "CURRENT_MILESTONE=$(gh api graphql -f query='query($name: String!, $owner: String!) {
repository(name: $name, owner: $owner) {
name
milestones(last: 1, states: [OPEN], orderBy: {field: DUE_DATE, direction: DESC}) {
nodes {
number
state
title
dueOn
}
}
}}' -f name=NineChronicles -f owner=planetarium --jq '.data.repository.milestones.nodes.[0].title')" >> $GITHUB_ENV
env:
GH_TOKEN: ${{ secrets.PROJECTS_PAT }}
- name: Set milestone field
uses: Julexar/Milestone-Assigner@v1.0
with:
token: "${{ secrets.GITHUB_TOKEN }}"
milestone: "${{ env.CURRENT_MILESTONE }}"