Skip to content

Commit d131f59

Browse files
authored
docs: add note about actions: read permission required for private repositories (#278)
1 parent 2bdaf21 commit d131f59

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

README.ja.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,9 @@ on: [push]
4949
jobs:
5050
example:
5151
runs-on: ubuntu-latest
52+
permissions:
53+
# private repositoryにおいては必須
54+
actions: read
5255
steps:
5356
# ワークフローの先頭でactions-workflow-metricsを実行
5457
- name: Start Workflow Telemetry

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@ on: [push]
4545
jobs:
4646
example:
4747
runs-on: ubuntu-latest
48+
permissions:
49+
# Required for private repositories
50+
actions: read
4851
steps:
4952
# Run actions-workflow-metrics at the beginning of the workflow
5053
- name: Start Workflow Telemetry

0 commit comments

Comments
 (0)