-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix commit message options -- Rework Update/Merge Logic (#4)
* Update workflow to use debug mode by choice, not required. Update action to include use of dry-run. Change test Yaml to point to special repository for testing * Test workflow now with dry-run as an option from the workflow action * pass flag --dry-run instead of bool * Updating instructions. Fixing usage of Github function merge() * Update README about test execution and purpose. Try and set output from action to enable validation of test results when action completes with a results output. Update automerge to cleanly handle buckets of PRs to pass/updated, pass/outofdate, and failed/pending scenarios --------- Co-authored-by: devops <[email protected]>
- Loading branch information
1 parent
90a7fa2
commit 915a1bb
Showing
4 changed files
with
92 additions
and
68 deletions.
There are no files selected for viewing
This file contains 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 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 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 |
---|---|---|
|
@@ -34,14 +34,14 @@ runs: | |
- name: Setup Python | ||
uses: actions/[email protected] | ||
with: | ||
python-version: '3.10' | ||
python-version: '3.10.12' | ||
|
||
- name: Install dependencies | ||
shell: bash {0} | ||
run: pip install logging PyGithub argparse | ||
|
||
- name: 'Check out repo: ${{ inputs.org }}/${{ inputs.repo }}' | ||
uses: actions/checkout@v4.0.0 | ||
uses: actions/checkout@v4 | ||
with: | ||
token: ${{ inputs.token }} | ||
repository: ${{ inputs.org }}/${{ inputs.repo }} | ||
|
@@ -53,5 +53,6 @@ runs: | |
env: | ||
GITHUB_TOKEN: ${{ inputs.token }} | ||
working-directory: tmp-${{ inputs.repo }} | ||
run: python3 ${{ github.action_path }}/src/automerge.py --org ${{ inputs.org }} --repo ${{ inputs.repo }} ${{ inputs.debug }} | ||
|
||
run: | | ||
python3 ${{ github.action_path }}/src/automerge.py --org ${{ inputs.org }} --repo ${{ inputs.repo }} ${{ inputs.debug }} | ||
This file contains 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