Skip to content

Commit

Permalink
Update Add to docs project workflow restrictions
Browse files Browse the repository at this point in the history
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
  • Loading branch information
jdbaldry committed Sep 18, 2024
1 parent 1a178ad commit 17c32ee
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions add-to-docs-project/action.yml
Original file line number Diff line number Diff line change
@@ -10,11 +10,7 @@ description: |
id-token: write
```
You should restrict the workflow runs with:
```yaml
github.event.pull_request.head.repo.full_name == github.repository && github.event.label.name == 'type/docs'
```
Restrict the workflow with `github.event.label.name == 'type/docs'` to minimize wasted compute time.
runs:
using: composite
steps:

0 comments on commit 17c32ee

Please sign in to comment.