Skip to content

Commit 003ea74

Browse files
authored
Merge pull request #42 from TykTechnologies/buger-patch-1
Update README.md
2 parents 5fe28bd + cf7255f commit 003ea74

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
lines changed

.github/workflows/release-bot.yaml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,31 +15,23 @@ jobs:
1515
with:
1616
github-token: ${{secrets.GITHUB_TOKEN}}
1717
script: |
18-
console.log('Starting script');
1918
const { issue, comment } = context.payload;
20-
console.log('Issue:', issue);
21-
console.log('Comment:', comment);
2219
2320
if (!issue || !issue.pull_request || !comment || !comment.body.startsWith('/release to ')) {
24-
console.log('Not a valid release command');
2521
core.setFailed('Not a valid release command on a pull request.');
2622
return;
2723
}
2824
29-
console.log('Valid release command');
3025
const releaseBranch = comment.body.split('/release to ')[1].trim();
31-
console.log('Release branch:', releaseBranch);
3226
core.setOutput('release_branch', releaseBranch);
3327
core.setOutput('pr_number', issue.number);
3428
35-
console.log('Creating comment');
3629
await github.rest.issues.createComment({
3730
issue_number: issue.number,
3831
owner: context.repo.owner,
3932
repo: context.repo.name,
4033
body: '🔄 Cherry-pick operation started. Please wait...'
4134
});
42-
console.log('Comment created');
4335
4436
- name: Checkout repository
4537
uses: actions/checkout@v3
@@ -81,7 +73,6 @@ jobs:
8173
git pull
8274
git checkout -b $BRANCH_NAME
8375
if ! git cherry-pick -x $GITHUB_CHERRY_PICK_COMMIT; then
84-
echo "Cherry-pick failed. Manual intervention required."
8576
git add -A
8677
git -c core.editor=true cherry-pick --continue --no-edit || true
8778
MERGE_FAILED=1

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,8 @@ jobs:
232232
uses: TykTechnologies/github-actions/.github/workflows/release-bot.yaml@main
233233
```
234234
235+
test
236+
235237
## PR Agent
236238
237239
Undocumented action.

0 commit comments

Comments
 (0)