From f74b060907f7ebe52351fc8821d6af4c7b5c27b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonathan=20Bokvad=20Engar=C3=A5s?= Date: Thu, 28 Sep 2023 16:29:29 +0200 Subject: [PATCH] refactor project --- .github/workflows/build.yml | 14 +------------- action.yml | 2 +- 2 files changed, 2 insertions(+), 14 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9fee68ae..7fe401a9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -4,16 +4,6 @@ permissions: contents: read pages: read id-token: write - actions: read - checks: read - deployments: read - issues: read - discussions: read - packages: read - pull-requests: read - repository-projects: read - security-events: read - statuses: read on: [push, workflow_dispatch] jobs: @@ -35,6 +25,4 @@ jobs: uses: ./ with: cydigConfigPath: ${{ github.workspace }}/src/cydigconfig.json - github-token: ${{ secrets.GITHUB_TOKEN}} - # env: - # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + PAT-token: ${{ secrets.MY_GITHUB_PAT}} \ No newline at end of file diff --git a/action.yml b/action.yml index 22271f65..0ed706d0 100644 --- a/action.yml +++ b/action.yml @@ -7,7 +7,7 @@ inputs: description: 'The path to the json-file containing configuration for CyDig' required: true default: 'Not working' - github-token: + PAT-token: description: 'Automatic token from Github workflow' required: true default: 'Not working'