Skip to content

Commit 9ce416a

Browse files
authored
Add /ace slash command workflow that posts ACE editor session links on PR comments (#19741)
1 parent b28e620 commit 9ce416a

File tree

170 files changed

+2567
-1912
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

170 files changed

+2567
-1912
lines changed

.github/aw/actions-lock.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,11 @@
6060
"version": "v5.2.0",
6161
"sha": "be666c2fcd27ec809703dec50e508c2fdc7f6654"
6262
},
63+
"actions/setup-node@v6.2.0": {
64+
"repo": "actions/setup-node",
65+
"version": "v6.2.0",
66+
"sha": "6044e13b5dc448c55e2357c09f80417699197238"
67+
},
6368
"actions/setup-node@v6.3.0": {
6469
"repo": "actions/setup-node",
6570
"version": "v6.3.0",
@@ -100,6 +105,11 @@
100105
"version": "v6.19.2",
101106
"sha": "10e90e3645eae34f1e60eeb005ba3a3d33f178e8"
102107
},
108+
"docker/login-action@v3.7.0": {
109+
"repo": "docker/login-action",
110+
"version": "v3.7.0",
111+
"sha": "c94ce9fb468520275223c153574b00df6fe4bcc9"
112+
},
103113
"docker/login-action@v4": {
104114
"repo": "docker/login-action",
105115
"version": "v4",
@@ -110,6 +120,11 @@
110120
"version": "v5.10.0",
111121
"sha": "c299e40c65443455700f0fdfc63efafe5b349051"
112122
},
123+
"docker/setup-buildx-action@v3.12.0": {
124+
"repo": "docker/setup-buildx-action",
125+
"version": "v3.12.0",
126+
"sha": "8d2750c68a42422c14e847fe6c8ac0403b4cbd6f"
127+
},
113128
"docker/setup-buildx-action@v4": {
114129
"repo": "docker/setup-buildx-action",
115130
"version": "v4",
@@ -125,6 +140,11 @@
125140
"version": "v4.32.5",
126141
"sha": "9c6c5ab400c838ab09eec30bfeded23893cf60cc"
127142
},
143+
"github/stale-repos@v9.0.1": {
144+
"repo": "github/stale-repos",
145+
"version": "v9.0.1",
146+
"sha": "86c425f3b9ad6696e3f967c7f8fa5ccc1e59a7bc"
147+
},
128148
"github/stale-repos@v9.0.2": {
129149
"repo": "github/stale-repos",
130150
"version": "v9.0.2",

.github/workflows/ace-editor.lock.yml

Lines changed: 585 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/ace-editor.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
---
2+
name: ACE Editor Session
3+
description: Generates an ACE editor session link when invoked with /ace command on pull request comments
4+
on:
5+
slash_command:
6+
name: ace
7+
events: [pull_request_comment]
8+
strict: false
9+
permissions:
10+
pull-requests: read
11+
issues: read
12+
jobs:
13+
post_ace_link:
14+
runs-on: ubuntu-latest
15+
needs: [activation]
16+
if: needs.activation.outputs.activated == 'true'
17+
permissions:
18+
pull-requests: write
19+
issues: write
20+
steps:
21+
- name: Post ACE editor session link
22+
uses: actions/github-script@v8
23+
with:
24+
script: |
25+
const prNumber = context.payload.issue.number;
26+
const repo = context.repo.repo;
27+
const owner = context.repo.owner;
28+
const actor = context.actor;
29+
const sessionId = `${owner}-${repo}-pr${prNumber}`;
30+
const aceUrl = `https://ace.com/session/${sessionId}`;
31+
32+
await github.rest.issues.createComment({
33+
owner,
34+
repo,
35+
issue_number: prNumber,
36+
body: `👋 Hey @${actor}! Here's your ACE editor session link for this pull request:\n\n🔗 **${aceUrl}**\n\nCopy and paste this link into Slack to invite your teammates into the session! 🚀`,
37+
});
38+
---
39+
40+
Classic action that generates an ACE editor session link on pull request comment slash command.

.github/workflows/agent-performance-analyzer.lock.yml

Lines changed: 13 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/agent-persona-explorer.lock.yml

Lines changed: 13 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/agentics-maintenance.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ jobs:
261261
262262
- name: Upload secret validation report
263263
if: always()
264-
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
264+
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7
265265
with:
266266
name: secret-validation-report
267267
path: secret-validation-report.md

0 commit comments

Comments
 (0)