Skip to content

Commit 435b514

Browse files
authored
chore(ci): disable AI workflows (#2454)
Assisted-By: devx/43e47a6c-478d-48d0-879c-3b563bde39ec
1 parent 4c6abc3 commit 435b514

4 files changed

Lines changed: 43 additions & 23 deletions

File tree

.github/workflows/agent-android-bot.yml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,15 +41,21 @@ env:
4141
jobs:
4242
bot:
4343
runs-on: ubuntu-latest
44+
# Temporarily disabled while the agent workflow security review is in progress.
4445
if: >-
45-
github.event_name == 'workflow_dispatch' ||
4646
(
47-
contains(github.event.comment.body || github.event.review.body, '@android-agent') &&
48-
!contains(github.event.comment.body || github.event.review.body, '/fix') &&
47+
false &&
4948
(
50-
(github.event.comment.author_association || github.event.review.author_association) == 'OWNER' ||
51-
(github.event.comment.author_association || github.event.review.author_association) == 'MEMBER' ||
52-
(github.event.comment.author_association || github.event.review.author_association) == 'COLLABORATOR'
49+
github.event_name == 'workflow_dispatch' ||
50+
(
51+
contains(github.event.comment.body || github.event.review.body, '@android-agent') &&
52+
!contains(github.event.comment.body || github.event.review.body, '/fix') &&
53+
(
54+
(github.event.comment.author_association || github.event.review.author_association) == 'OWNER' ||
55+
(github.event.comment.author_association || github.event.review.author_association) == 'MEMBER' ||
56+
(github.event.comment.author_association || github.event.review.author_association) == 'COLLABORATOR'
57+
)
58+
)
5359
)
5460
)
5561
steps:

.github/workflows/agent-bot.yml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,15 +38,21 @@ env:
3838
jobs:
3939
bot:
4040
runs-on: macos-latest
41+
# Temporarily disabled while the agent workflow security review is in progress.
4142
if: >-
42-
github.event_name == 'workflow_dispatch' ||
4343
(
44-
contains(github.event.comment.body || github.event.review.body, '@agent') &&
45-
!contains(github.event.comment.body || github.event.review.body, '/fix') &&
44+
false &&
4645
(
47-
(github.event.comment.author_association || github.event.review.author_association) == 'OWNER' ||
48-
(github.event.comment.author_association || github.event.review.author_association) == 'MEMBER' ||
49-
(github.event.comment.author_association || github.event.review.author_association) == 'COLLABORATOR'
46+
github.event_name == 'workflow_dispatch' ||
47+
(
48+
contains(github.event.comment.body || github.event.review.body, '@agent') &&
49+
!contains(github.event.comment.body || github.event.review.body, '/fix') &&
50+
(
51+
(github.event.comment.author_association || github.event.review.author_association) == 'OWNER' ||
52+
(github.event.comment.author_association || github.event.review.author_association) == 'MEMBER' ||
53+
(github.event.comment.author_association || github.event.review.author_association) == 'COLLABORATOR'
54+
)
55+
)
5056
)
5157
)
5258
steps:

.github/workflows/agent-fix.yml

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -30,20 +30,26 @@ env:
3030
jobs:
3131
fix:
3232
runs-on: macos-latest
33+
# Temporarily disabled while the agent workflow security review is in progress.
3334
if: >-
3435
(
35-
github.event.action == 'labeled' &&
36-
github.event.label.name == 'agent-fix' &&
37-
github.event.issue.pull_request == null &&
38-
github.event.sender.type != 'Bot'
39-
) || (
40-
github.event.action == 'created' &&
41-
contains(github.event.comment.body, '/fix') &&
42-
!github.event.issue.pull_request &&
36+
false &&
4337
(
44-
github.event.comment.author_association == 'OWNER' ||
45-
github.event.comment.author_association == 'MEMBER' ||
46-
github.event.comment.author_association == 'COLLABORATOR'
38+
(
39+
github.event.action == 'labeled' &&
40+
github.event.label.name == 'agent-fix' &&
41+
github.event.issue.pull_request == null &&
42+
github.event.sender.type != 'Bot'
43+
) || (
44+
github.event.action == 'created' &&
45+
contains(github.event.comment.body, '/fix') &&
46+
!github.event.issue.pull_request &&
47+
(
48+
github.event.comment.author_association == 'OWNER' ||
49+
github.event.comment.author_association == 'MEMBER' ||
50+
github.event.comment.author_association == 'COLLABORATOR'
51+
)
52+
)
4753
)
4854
)
4955
steps:

.github/workflows/agent-triage.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ jobs:
1212
triage:
1313
runs-on: ubuntu-latest
1414
timeout-minutes: 10
15+
# Temporarily disabled while the agent workflow security review is in progress.
1516
if: >-
17+
false &&
1618
github.event.label.name == 'agent-triage' &&
1719
github.event.issue.pull_request == null &&
1820
github.event.sender.type != 'Bot'

0 commit comments

Comments
 (0)