diff --git a/LICENSE b/LICENSE index e99bb47..76824d0 100644 --- a/LICENSE +++ b/LICENSE @@ -1,4 +1,4 @@ -Copyright 2018 Benjamin Lannnon +Copyright 2018-2019 Benjamin Lannnon Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software diff --git a/README.md b/README.md index 192ad35..09d261c 100644 --- a/README.md +++ b/README.md @@ -18,9 +18,10 @@ 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: -```hcl -action "Update Label" { - uses = "lannonbr/issue-label-manager-action@master" - secrets = ["GITHUB_TOKEN"] -} +```yaml +steps: + - name: "Check & Modify Labels" + uses: lannonbr/issue-label-manager-action@2.0.0 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} ```