Skip to content

Commit 560bc34

Browse files
r-barnesmeta-codesync[bot]
authored andcommitted
fbcode_builder: regenerate OSS CI workflows after D96800077 backout
Summary: Make security happy. Removes the workflow_dispatch tmate_enabled input and the trailing "Setup tmate session" step from every generated GitHub Actions workflow, matching what the reverted generator now emits. Reviewed By: bigfootjon Differential Revision: D104103189 fbshipit-source-id: 2bb2c36b9cd58e80d08618e569c574772283b481
1 parent ec300a6 commit 560bc34

5 files changed

Lines changed: 3 additions & 50 deletions

File tree

.github/workflows/edenfs_linux.yml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,7 @@
33
name: EdenFS Linux
44

55
on:
6-
workflow_dispatch:
7-
inputs:
8-
tmate_enabled:
9-
description: 'Start a tmate SSH session on failure'
10-
required: false
11-
default: false
12-
type: boolean
6+
workflow_dispatch
137

148
permissions:
159
contents: read # to fetch code (actions/checkout)
@@ -1073,6 +1067,3 @@ jobs:
10731067
env:
10741068
GH_TOKEN: ${{ github.token }}
10751069
run: gh cache list --repo ${{ github.repository }} --sort size_in_bytes --order desc --limit 30
1076-
- name: Setup tmate session
1077-
if: failure() && github.event_name == 'workflow_dispatch' && inputs.tmate_enabled
1078-
uses: mxschmitt/action-tmate@v3

.github/workflows/mononoke-integration_linux.yml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,7 @@
33
name: Mononoke Integration Linux
44

55
on:
6-
workflow_dispatch:
7-
inputs:
8-
tmate_enabled:
9-
description: 'Start a tmate SSH session on failure'
10-
required: false
11-
default: false
12-
type: boolean
6+
workflow_dispatch
137

148
permissions:
159
contents: read # to fetch code (actions/checkout)
@@ -937,6 +931,3 @@ jobs:
937931
env:
938932
GH_TOKEN: ${{ github.token }}
939933
run: gh cache list --repo ${{ github.repository }} --sort size_in_bytes --order desc --limit 30
940-
- name: Setup tmate session
941-
if: failure() && github.event_name == 'workflow_dispatch' && inputs.tmate_enabled
942-
uses: mxschmitt/action-tmate@v3

.github/workflows/mononoke_linux.yml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,6 @@ on:
99
pull_request:
1010
branches:
1111
- main
12-
workflow_dispatch:
13-
inputs:
14-
tmate_enabled:
15-
description: 'Start a tmate SSH session on failure'
16-
required: false
17-
default: false
18-
type: boolean
1912

2013
permissions:
2114
contents: read # to fetch code (actions/checkout)
@@ -720,6 +713,3 @@ jobs:
720713
env:
721714
GH_TOKEN: ${{ github.token }}
722715
run: gh cache list --repo ${{ github.repository }} --sort size_in_bytes --order desc --limit 30
723-
- name: Setup tmate session
724-
if: failure() && github.event_name == 'workflow_dispatch' && inputs.tmate_enabled
725-
uses: mxschmitt/action-tmate@v3

.github/workflows/mononoke_mac.yml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,7 @@
33
name: Mononoke Mac
44

55
on:
6-
workflow_dispatch:
7-
inputs:
8-
tmate_enabled:
9-
description: 'Start a tmate SSH session on failure'
10-
required: false
11-
default: false
12-
type: boolean
6+
workflow_dispatch
137

148
permissions:
159
contents: read # to fetch code (actions/checkout)
@@ -656,6 +650,3 @@ jobs:
656650
env:
657651
GH_TOKEN: ${{ github.token }}
658652
run: gh cache list --repo ${{ github.repository }} --sort size_in_bytes --order desc --limit 30
659-
- name: Setup tmate session
660-
if: failure() && github.event_name == 'workflow_dispatch' && inputs.tmate_enabled
661-
uses: mxschmitt/action-tmate@v3

.github/workflows/sapling-cli-getdeps_linux.yml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,6 @@ on:
99
pull_request:
1010
branches:
1111
- main
12-
workflow_dispatch:
13-
inputs:
14-
tmate_enabled:
15-
description: 'Start a tmate SSH session on failure'
16-
required: false
17-
default: false
18-
type: boolean
1912

2013
permissions:
2114
contents: read # to fetch code (actions/checkout)
@@ -838,6 +831,3 @@ jobs:
838831
env:
839832
GH_TOKEN: ${{ github.token }}
840833
run: gh cache list --repo ${{ github.repository }} --sort size_in_bytes --order desc --limit 30
841-
- name: Setup tmate session
842-
if: failure() && github.event_name == 'workflow_dispatch' && inputs.tmate_enabled
843-
uses: mxschmitt/action-tmate@v3

0 commit comments

Comments
 (0)