diff options
| author | Takashi Kokubun <takashikkbn@gmail.com> | 2025-10-03 23:38:55 -0700 |
|---|---|---|
| committer | Takashi Kokubun <takashikkbn@gmail.com> | 2025-10-03 23:39:23 -0700 |
| commit | 72f8e3e71b1e1e816f4f7fbaf7e4fafdeca87881 (patch) | |
| tree | 2847aa9220e7c4e512647e7ec01525d1480b5750 | |
| parent | 4ea84bf58b3690c3e7e61cbf30ad6252863ce133 (diff) | |
Make sure GITHUB_TOKEN is set
| -rw-r--r-- | .github/workflows/check_misc.yml | 1 | ||||
| -rw-r--r-- | tool/notes-github-pr.rb | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/.github/workflows/check_misc.yml b/.github/workflows/check_misc.yml index 347e8a9b19..b332eef541 100644 --- a/.github/workflows/check_misc.yml +++ b/.github/workflows/check_misc.yml @@ -137,6 +137,7 @@ jobs: env: GITHUB_OLD_SHA: ${{ github.event.before }} GITHUB_NEW_SHA: ${{ github.event.after }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} if: ${{ github.repository == 'ruby/ruby' && github.ref == 'refs/heads/master' && github.event_name == 'push' }} - uses: ./.github/actions/slack diff --git a/tool/notes-github-pr.rb b/tool/notes-github-pr.rb index 2bea10575b..e282386eba 100644 --- a/tool/notes-github-pr.rb +++ b/tool/notes-github-pr.rb @@ -100,7 +100,7 @@ module Git end end -github = GitHub.new(ENV.fetch("GITHUB_TOKEN")) +github = GitHub.new(ENV.fetch('GITHUB_TOKEN')) repo_path, *rest = ARGV rest.each_slice(3).map do |oldrev, newrev, refname| |
