Skip to content

Commit b10e7ba

Browse files
brianseedersmatthewabbott
authored andcommitted
[github] actions should only run for the elastic repo (elastic#113888)
1 parent 484c3f8 commit b10e7ba

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

.github/workflows/docs-preview-links.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,11 @@ on:
44
pull_request_target:
55
types: [opened]
66
paths:
7-
- '**.asciidoc'
7+
- "**.asciidoc"
88

99
jobs:
1010
doc-preview:
11+
if: github.repository == 'elastic/elasticsearch'
1112
permissions:
1213
pull-requests: write
1314
runs-on: ubuntu-latest

.github/workflows/gradle-wrapper-validation.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ permissions:
77
jobs:
88
validation:
99
name: "Validation"
10+
if: github.repository == 'elastic/elasticsearch'
1011
runs-on: ubuntu-latest
1112
steps:
1213
- uses: actions/checkout@v2

.github/workflows/sync-main-to-jdk-branch.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,12 @@
22
name: "Merge main to openjdk23-bundle branch"
33
on:
44
schedule:
5-
- cron: '30 17 * * *'
5+
- cron: "30 17 * * *"
66
workflow_dispatch: {}
77

88
jobs:
99
merge-branch:
10+
if: github.repository == 'elastic/elasticsearch'
1011
runs-on: ubuntu-latest
1112
steps:
1213
- name: checkout
@@ -15,6 +16,6 @@ jobs:
1516
- name: merge
1617
uses: devmasx/[email protected]
1718
with:
18-
type: 'now'
19+
type: "now"
1920
target_branch: openjdk23-bundle
2021
github_token: ${{ secrets.ELASTICSEARCHMACHINE_TOKEN }}

.github/workflows/updatecli-compose.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,14 @@ name: updatecli-compose
44
on:
55
workflow_dispatch:
66
schedule:
7-
- cron: '0 6 * * *'
7+
- cron: "0 6 * * *"
88

99
permissions:
1010
contents: read
1111

1212
jobs:
1313
compose:
14+
if: github.repository == 'elastic/elasticsearch'
1415
runs-on: ubuntu-latest
1516
permissions:
1617
contents: write

0 commit comments

Comments
 (0)