forked from AndreasAugustin/actions-template-sync
-
Notifications
You must be signed in to change notification settings - Fork 0
Feat/enable git app #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
msiebeneicher
merged 19 commits into
msiebeneicher:feat/use_gh_auth_for_authentication
from
AndreasAugustin:feat/enable_git_app
Jan 3, 2023
Merged
Changes from 9 commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
d1717e2
feat(gh-auth): add gh auth login and credential helper
4c18507
feat(gh-auth): add own source_repo_github_token handling for template…
3590d73
chore(): add test for PAT :rocket:
AndreasAugustin 9b74224
chore(gh-cli): update gh cli version to latest :rocket:
AndreasAugustin edc9216
# This is a combination of 6 commits.
AndreasAugustin 7c68c1c
parent 9b742247ad7218490f30978af7abf4d6fc4ed9ad
AndreasAugustin 561434a
Merge branch 'feat/use_gh_auth_for_authentication' into feat/enable_g…
AndreasAugustin 1b2dd57
fix(): small logic fix in script
AndreasAugustin f274056
fix(): small logic fix in script
AndreasAugustin 42728fc
feat(): #238 hopefully a final version :rocket:
AndreasAugustin abd4251
feat(): #238 hopefully a final version :rocket:
AndreasAugustin 7f15131
feat(): #238 hopefully a final version :rocket:
AndreasAugustin 0419389
feat(): #238 hopefully a final version :rocket:
AndreasAugustin 69f59a2
feat(): #238 hopefully a final version :rocket:
AndreasAugustin 0264978
Update test_ssh.yml
AndreasAugustin 33baa75
Update test.yml
AndreasAugustin ed6009a
Update entrypoint.sh
AndreasAugustin a2527a0
fix(): fix for GITHUB_TOKEN env variable :bug:
AndreasAugustin 1435ce1
fix(): fix for GITHUB_TOKEN env variable :bug:
AndreasAugustin File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -7,6 +7,8 @@ on: | |
| # manual trigger | ||
| workflow_dispatch: | ||
|
|
||
| permissions: read-all | ||
|
|
||
| jobs: | ||
| repo-sync: | ||
| runs-on: ubuntu-latest | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,26 @@ | ||
| name: test-pat | ||
|
|
||
| on: | ||
| pull_request: | ||
| push: | ||
| # manual trigger | ||
| workflow_dispatch: | ||
|
|
||
| jobs: | ||
| test-implementation-job: | ||
|
|
||
| runs-on: ubuntu-latest | ||
|
|
||
| steps: | ||
| # To use this repository's private action, you must check out the repository | ||
| - | ||
| name: Checkout | ||
| uses: actions/checkout@v3 | ||
| - | ||
| name: Test action step PAT | ||
| uses: ./ # Uses an action in the root directory | ||
| with: | ||
| # github_token: ${{ secrets.GITHUB_TOKEN }} | ||
| source_repo_path: ${{ secrets.SOURCE_REPO_PATH_TEST }} # <owner/repo>, should be within secrets | ||
| source_repo_github_token: ${{ secrets.SOURCE_REPO_PAT }} # contains the private PAT of the private repository | ||
| is_dry_run: true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.