Skip to content

Confused on what code to use #151

Confused on what code to use

Confused on what code to use #151

Workflow file for this run

# name: Auto Assign to Project(s)
# on:
# issues:
# types: [opened, labeled]
# pull_request:
# types: [opened, labeled]
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# jobs:
# assign_one_project:
# runs-on: ubuntu-latest
# name: Assign to One Project
# steps:
# - name: Assign NEW issues and NEW pull requests to project 2
# uses: srggrs/assign-one-project-github-action@1.2.0
# if: github.event.action == 'opened'
# with:
# project: 'https://github.com/srggrs/assign-one-project-github-action/projects/2'
# - name: Assign issues and pull requests with `bug` label to project 3
# uses: srggrs/assign-one-project-github-action@1.2.0
# if: |
# contains(github.event.issue.labels.*.name, 'bug') ||
# contains(github.event.pull_request.labels.*.name, 'bug')
# with:
# project: 'https://github.com/srggrs/assign-one-project-github-action/projects/3'
# column_name: 'Labeled'
name: Debug JSON
on:
issues:
types: [opened, labeled, unlabeled]
pull_request:
types: [opened, labeled, unlabeled]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
jobs:
debugging:
runs-on: ubuntu-latest
name: Debugging
steps:
- name: Debugging JSON
run: |
echo "Event Type: ${{ github.event_name }}"
env
cat $GITHUB_EVENT_PATH