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'