Skip to content

Commit

Permalink
Add permissions and debug statement
Browse files Browse the repository at this point in the history
  • Loading branch information
gorkem committed Mar 30, 2024
1 parent 550ab90 commit 6fa8807
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/check-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
pull_request:
schedule:
- cron: '0 0 * * *' # every day at midnight
permissions: read-all

jobs:
latest-version:
Expand All @@ -25,7 +26,7 @@ jobs:

- name: Echo output of installer
if: always()
run: echo "${{ steps.install_kit.outputs.installed }}"
run: echo "${{ steps.install_kit.outputs.kit_path }}"

- name: Run kit tools
shell: bash
Expand All @@ -51,7 +52,7 @@ jobs:

- name: Echo output of installer
if: always()
run: echo "${{ steps.install_kit.outputs.installed }}"
run: echo "${{ steps.install_kit.outputs.kit_path }}"

- name: Run installed tools
shell: bash
Expand Down
1 change: 1 addition & 0 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ export async function run(): Promise<void> {
core.getInput('token'),
versionSpec === 'latest'
)
core.debug(`Found ${releases.length} releases`)
let releaseToDownload = undefined

if (releases.length === 1) {
Expand Down

0 comments on commit 6fa8807

Please sign in to comment.