Skip to content

Commit 517870b

Browse files
kewischcoreycb
authored andcommitted
Merge pull request #8997 from kewisch/botmobile
Fix actions to put environment on job level
1 parent 6db94c1 commit 517870b

6 files changed

Lines changed: 6 additions & 14 deletions

File tree

.github/workflows/deploy-docs.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,11 @@ concurrency:
1414
group: "pages"
1515
cancel-in-progress: false
1616

17-
18-
environment: botmobile
19-
2017
jobs:
2118
build-docs:
2219
if: ${{ github.repository_owner == 'thunderbird' }}
2320
runs-on: ubuntu-latest
21+
environment: botmobile
2422
steps:
2523
- name: App token generate
2624
uses: actions/create-github-app-token@21cfef2b496dd8ef5b904c159339626a10ad380e # v1.11.6

.github/workflows/needinfo-answered.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,13 @@ on:
1010
permissions:
1111
issues: write
1212

13-
environment: botmobile
14-
1513
jobs:
1614
build:
1715
runs-on: ubuntu-latest
1816
if: |
1917
contains(github.event.issue.labels.*.name, 'status: needs information') &&
2018
contains(github.event.issue.labels.*.name, 'status: answered')
19+
environment: botmobile
2120
permissions:
2221
issues: write
2322
pull-requests: write

.github/workflows/needinfo-remove.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ permissions:
1010
contents: read
1111
issues: write
1212

13-
environment: botmobile
14-
1513
jobs:
1614
build:
1715
runs-on: ubuntu-latest
@@ -20,6 +18,7 @@ jobs:
2018
github.event.comment.author_association != 'OWNER' &&
2119
github.event.comment.author_association != 'MEMBER' &&
2220
github.event.comment.author_association != 'COLLABORATOR'
21+
environment: botmobile
2322
permissions:
2423
issues: write
2524
pull-requests: write

.github/workflows/needinfo-stale.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,10 @@ permissions:
1010
contents: read
1111
issues: write
1212

13-
environment: botmobile
14-
1513
jobs:
1614
build:
1715
runs-on: ubuntu-latest
16+
environment: botmobile
1817
permissions:
1918
issues: write
2019
pull-requests: write

.github/workflows/pulls-merged.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,10 @@ permissions:
1212
pull-requests: write
1313
issues: write
1414

15-
environment: botmobile
16-
1715
jobs:
1816
pull-request-merged:
1917
runs-on: ubuntu-latest
20-
18+
environment: botmobile
2119
steps:
2220
- name: App token generate
2321
uses: actions/create-github-app-token@21cfef2b496dd8ef5b904c159339626a10ad380e # v1.11.6

.github/workflows/uplift-merges.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,11 @@ on:
1111
permissions:
1212
contents: read
1313

14-
environment: botmobile
15-
1614
jobs:
1715
uplift:
1816
name: Uplift
1917
runs-on: ubuntu-latest
18+
environment: botmobile
2019
permissions:
2120
pull-requests: write
2221
steps:

0 commit comments

Comments
 (0)