Skip to content

Commit

Permalink
Merge pull request #30 from ZEISS-PiWeb/fix/Removes-token-from-checkout
Browse files Browse the repository at this point in the history
fix: Remove token since it is persisted automatically now
  • Loading branch information
cz-dev-ge authored Feb 27, 2024
2 parents d811f4d + cbdb091 commit f13f22b
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,6 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
# Invoking workflow has to pass a personal access token with permission to pull/push on the target repo.
token: ${{ secrets.PUSH_TO_GITHUB_REPO_PAT }}

- name: Save NuGet version to a variable for easy access.
run: |
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/create-support-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.PUSH_TO_GITHUB_REPO_PAT }}

- name: Save NuGet version to a variable for easy access.
run: |
Expand Down
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,5 +85,4 @@ Publish the build artifact (NuGet package) to a target nuget feed.
Two of the workflows require secrets to be passed on to work as intended:

* `publish.yml` pushes NuGet packages to nuget.org and needs a personal access token named `NUGET_FEED_PAT` with proper permissions
* `create-release.yml` creates commits, merges and creates branches and pushes to the target repository and need a GitHub personal access token name `PUSH_TO_GITHUB_REPO_PAT` with proper permissions
- the only permission to be set is `public_repo`
* `create-release.yml` creates commits, merges and creates branches and pushes to the target repository

0 comments on commit f13f22b

Please sign in to comment.