Skip to content

Commit

Permalink
chore: default to internal actions token (#86)
Browse files Browse the repository at this point in the history
## Overview

Most common actions needing the standard GitHub actions token set the
default behind the scenes.
  • Loading branch information
marknet15 authored Nov 19, 2024
1 parent 65cee40 commit 3f80a1d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ on:
pull_request:
merge_group:

permissions:
contents: read
checks: read

jobs:
sloth:
runs-on: ubuntu-22.04
Expand Down
3 changes: 2 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ branding:
inputs:
token:
description: "GitHub token to use to interact with the GitHub API."
required: true
default: "${{ github.token }}"
required: false
ref:
description: "Git reference to inspect check runs for. The default supports Pull Requests, Merge Queues as well as branch pushes."
required: false
Expand Down

0 comments on commit 3f80a1d

Please sign in to comment.