twhetzel / github-issue-to-gsheet

A sample repo to test out how to add content from a github issue to a google sheet.
0 stars 0 forks source link

Change trigger for Obsolete term template to a label vs. open, reopened #48

Closed twhetzel closed 7 months ago

twhetzel commented 7 months ago

For testing the GH Action, the initial action that triggered the action was by opening or re-opening an issue,

on:
  issues:
    types: [opened, reopened]

This action trigger should be changed to adding a label and the label value should be 'on the list'.

See https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#issues

twhetzel commented 7 months ago

And change to run on issues where the Issue TITLE vs. Body contains the word obsolete.

twhetzel commented 7 months ago

Re-order steps so that other steps don't run if the label is not on the list

twhetzel commented 7 months ago

done