Skip to content
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

v1 Release - Cleanup, Tests, & Added Options #16

Merged
merged 40 commits into from
Sep 25, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
a147e80
Created test.yml
jtmullen Sep 12, 2021
5848382
Test try one
jtmullen Sep 12, 2021
94e6346
Fix ID
jtmullen Sep 12, 2021
73f383a
Fix bad payload
jtmullen Sep 12, 2021
3743bb3
Fix path to event payload
jtmullen Sep 12, 2021
c9ab530
Fix spacing
jtmullen Sep 12, 2021
c1cd67d
Print directory
jtmullen Sep 12, 2021
5c63cd4
Print directory again
jtmullen Sep 12, 2021
31ebac8
root path?
jtmullen Sep 12, 2021
22f56a7
Print default path
jtmullen Sep 12, 2021
657f20e
reorder
jtmullen Sep 12, 2021
24c58ee
More debug changes'
jtmullen Sep 13, 2021
83ba05c
Fix quotes
jtmullen Sep 13, 2021
dc6a3a7
Fix json
jtmullen Sep 13, 2021
5b123e5
More json fixes'
jtmullen Sep 13, 2021
4399ee5
Fetch depth
jtmullen Sep 13, 2021
61ef989
Change test payload
jtmullen Sep 13, 2021
cd69566
Remove impossible test:
jtmullen Sep 13, 2021
f258105
Fixes in text run
jtmullen Sep 13, 2021
2f69dd4
Debug prinyt
jtmullen Sep 13, 2021
087b89e
more debug
jtmullen Sep 13, 2021
dcb98dc
be on correct hash
jtmullen Sep 13, 2021
8ff664c
New tests!
jtmullen Sep 13, 2021
52e5aaf
json fixes
jtmullen Sep 13, 2021
8c7d544
Fix test cases
jtmullen Sep 13, 2021
204ff0d
Updated test cases
jtmullen Sep 13, 2021
b119138
Change PR base
jtmullen Sep 13, 2021
79102d6
Fix expected output
jtmullen Sep 13, 2021
45abc22
Group outputs, cleanup comments
jtmullen Sep 13, 2021
1bd62bc
Remove unsupported nested group
jtmullen Sep 13, 2021
9d220dc
Fetch Submodule
jtmullen Sep 22, 2021
fe4a09f
Test sub depth pull
jtmullen Sep 22, 2021
96b16f5
Fix id clash
jtmullen Sep 22, 2021
4a290be
Fix input
jtmullen Sep 22, 2021
8d92e14
Fix var name
jtmullen Sep 22, 2021
159ed35
Fix submodule update
jtmullen Sep 22, 2021
858c566
Add test case for sub depth:
jtmullen Sep 22, 2021
6b08ebe
Push correct test
jtmullen Sep 22, 2021
2d16978
Cleanup and readme updates
jtmullen Sep 25, 2021
4b71fe2
Readme fixes
jtmullen Sep 25, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix json
  • Loading branch information
jtmullen committed Sep 13, 2021
commit dc6a3a7d3f929be7257d7c784506c4e6811c5374
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
continue-on-error: true
with:
path: "submodule-action-test-submodule"
event_path: "test/bad_payload.json"
event_path: "action/test/bad_payload.json"
- name: Verify Fail on unsupported Event Payload
run: test "${{ steps.bad-payload.outputs.fails }}" = "error"
# If the Submodule is not checked out correctly we should fail
Expand Down
2 changes: 1 addition & 1 deletion test/bad_payload.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
"ref": "refs/heads/main",
"repository": {
"full_name": "jtmullen/submodule-action-test-parent",
},
}
}
2 changes: 1 addition & 1 deletion test/new_submodule_event_push.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
"ref": "refs/heads/main",
"repository": {
"full_name": "jtmullen/submodule-action-test-parent",
},
}
}
2 changes: 1 addition & 1 deletion test/submodule_moved_backwards.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
"ref": "refs/heads/main",
"repository": {
"full_name": "jtmullen/submodule-action-test-parent",
},
}
}