From 2e07e1d2e66e1d4c53bac5c11a9e4d8fb97a135d Mon Sep 17 00:00:00 2001 From: Olaf Alders Date: Tue, 1 Oct 2019 09:40:30 -0400 Subject: [PATCH] Update example YAML in README (#11) * Update example YAML in README as seen in #7 * Update README.md Pin version of issue-label-manager-action Co-Authored-By: Benjamin Lannon --- README.md | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 09d261c..46ed418 100644 --- a/README.md +++ b/README.md @@ -19,9 +19,15 @@ If a label doesn't need a description, leave out the `description` field of the This action only needs the GITHUB_TOKEN secret as it interacts with the GitHub API to modify labels. The action can be used as such: ```yaml -steps: - - name: "Check & Modify Labels" - uses: lannonbr/issue-label-manager-action@2.0.0 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} +on: issues +name: Create Default Labels +jobs: + labels: + name: DefaultLabelsActions + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@1.0.0 + - uses: lannonbr/issue-label-manager-action@2.0.0 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} ```