Skip to content

Commit 51fc396

Browse files
committed
Restart the effort to turn GitGitGadget's core logic into a GitHub Action
In preparation for a different approach, remove what had been done in 5e0129b (Merge pull request #1055 from webstech/action, 2022-07-20) I would like to go into a different direction: - move pretty much all the core logic from `misc-helper` to `CIHelper`. - use `ncc` to bundle `CIHelper` as a single `dist/index.js` file. - add dedicates GitHub Actions in subdirectories that contain really small `index.js` files which in turn import the `CIHelper` and then let it do its magic. As a consequence, the Azure Pipelines we currently use can then be migrated to GitHub workflows in gitgitgadget/gitgitgadget-workflows and use the Actions like this: - uses: gitgitgadget/gitgitgadget/handle-slash-command@v1 with: repository: gitgitgadget/git pr-number: ... issue-comment-id: ... gitgitgadget-app-id: ${{ secrets.GITGITGADGET_GITHUB_APP_ID }} gitgitgadget-private-key: ${{ secrets.GITGITGADGET_GITHUB_APP_PRIVATE_KEY }} gitgitgadget-git-app-id: ${{ secrets.GITGITGADGET_GIT_GITHUB_APP_ID }} gitgitgadget-git-private-key: ${{ secrets.GITGITGADGET_GIT_GITHUB_APP_PRIVATE_KEY }} Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
1 parent ad1670a commit 51fc396

File tree

4 files changed

+0
-164
lines changed

4 files changed

+0
-164
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,3 @@
1010
/obj/**
1111
/*.sln*
1212
/*.njsproj*
13-
/*.tgz

lib/misc-action.ts

Lines changed: 0 additions & 84 deletions
This file was deleted.

lib/pull-action.ts

Lines changed: 0 additions & 76 deletions
This file was deleted.

package.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,6 @@
2525
"url": "https://github.com/gitgitgadget/gitgitgadget/issues"
2626
},
2727
"homepage": "https://gitgitgadget.github.io/",
28-
"files": [
29-
"lib/*.ts"
30-
],
3128
"jest": {
3229
"extensionsToTreatAsEsm": [
3330
".ts"

0 commit comments

Comments
 (0)