Skip to content

Commit

Permalink
chore: created a new github action to handle new comments better (#26234
Browse files Browse the repository at this point in the history
)

* chore: created a new github action to handle new comments better
---------

Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com>
Co-authored-by: Matt Schile <mschile@cypress.io>
  • Loading branch information
3 people authored Apr 3, 2023
1 parent 1c385e0 commit b348972
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 127 deletions.
23 changes: 0 additions & 23 deletions .github/workflows/triage_add_stale_issue_to_board.yml

This file was deleted.

104 changes: 0 additions & 104 deletions .github/workflows/triage_closed_issue_comment.yml

This file was deleted.

32 changes: 32 additions & 0 deletions .github/workflows/triage_handle_new_comments.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: 'Handle Issue/PR Comment Workflow'
on:
# makes this workflow reusable
workflow_call:
secrets:
TRIAGE_BOARD_TOKEN:
required: true

issue_comment:
types: [created]

jobs:
handle-comment-scenarios:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
repository: 'cypress-io/release-automations'
ref: 'master'
ssh-key: ${{ secrets.WORKFLOW_DEPLOY_KEY }}
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '16'
- name: Run comment_workflow.js Script
uses: actions/github-script@v6
with:
github-token: ${{ secrets.TRIAGE_BOARD_TOKEN }}
script: |
const script = require('./scripts/triage/comment_workflow.js')
await script.handleComment(github, context);

4 comments on commit b348972

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on b348972 Apr 3, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Circle has built the linux arm64 version of the Test Runner.

Learn more about this pre-release build at https://on.cypress.io/advanced-installation#Install-pre-release-version

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/12.9.1/linux-arm64/develop-b34897241ea9255a73fed92905d1629ffbfe5540/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on b348972 Apr 3, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Circle has built the linux x64 version of the Test Runner.

Learn more about this pre-release build at https://on.cypress.io/advanced-installation#Install-pre-release-version

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/12.9.1/linux-x64/develop-b34897241ea9255a73fed92905d1629ffbfe5540/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on b348972 Apr 3, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Circle has built the darwin arm64 version of the Test Runner.

Learn more about this pre-release build at https://on.cypress.io/advanced-installation#Install-pre-release-version

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/12.9.1/darwin-arm64/develop-b34897241ea9255a73fed92905d1629ffbfe5540/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on b348972 Apr 3, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Circle has built the darwin x64 version of the Test Runner.

Learn more about this pre-release build at https://on.cypress.io/advanced-installation#Install-pre-release-version

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/12.9.1/darwin-x64/develop-b34897241ea9255a73fed92905d1629ffbfe5540/cypress.tgz

Please sign in to comment.