diff --git a/.github/workflows/action.yml b/.github/workflows/action.yml index 43a7dbe..360c812 100644 --- a/.github/workflows/action.yml +++ b/.github/workflows/action.yml @@ -8,6 +8,9 @@ on: pull_request: types: [opened, synchronize] +env: + GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} + jobs: check_integrity: name: Expected local npm actions diff --git a/__tests__/setup-beam.test.js b/__tests__/setup-beam.test.js index 4013f31..d96a4e4 100644 --- a/__tests__/setup-beam.test.js +++ b/__tests__/setup-beam.test.js @@ -3,6 +3,7 @@ simulateInput('elixir-version', '1.14.2') simulateInput('rebar3-version', '3.20') simulateInput('install-rebar', 'true') simulateInput('install-hex', 'true') +simulateInput('github-token', process.env.GITHUB_TOKEN) const assert = require('assert') const fs = require('fs')