Skip to content

Commit

Permalink
Use Github token to run upgrade bridge workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ringods committed Oct 15, 2024
1 parent a93c701 commit 782eadf
Show file tree
Hide file tree
Showing 5 changed files with 40 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# WARNING: This file is autogenerated - changes will be overwritten if not made via https://github.com/pulumi/ci-mgmt

name: Upgrade bridge

on:
repository_dispatch:
types:
Expand Down Expand Up @@ -49,13 +50,19 @@ on:
required: false
type: boolean
default: false

env:
GH_TOKEN: ${{ secrets.PULUMI_BOT_TOKEN }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

jobs:
upgrade_provider:
name: upgrade-provider
runs-on: #{{ if .Config.runner.buildSdk }}##{{- .Config.runner.buildSdk }}##{{ else }}##{{- .Config.runner.default }}##{{ end }}#
permissions:
contents: write
issues: write
pull-requests: write
steps:
#{{- if .Config.freeDiskSpaceBeforeBuild }}#
# Run as first step so we don't delete things that have just been installed
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# WARNING: This file is autogenerated - changes will be overwritten if not made via https://github.com/pulumi/ci-mgmt

name: Upgrade bridge

on:
repository_dispatch:
types:
Expand Down Expand Up @@ -49,13 +50,19 @@ on:
required: false
type: boolean
default: false

env:
GH_TOKEN: ${{ secrets.PULUMI_BOT_TOKEN }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

jobs:
upgrade_provider:
name: upgrade-provider
runs-on: ubuntu-latest
permissions:
contents: write
issues: write
pull-requests: write
steps:
- name: Checkout Repo
uses: actions/checkout@v4
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# WARNING: This file is autogenerated - changes will be overwritten if not made via https://github.com/pulumi/ci-mgmt

name: Upgrade bridge

on:
repository_dispatch:
types:
Expand Down Expand Up @@ -49,13 +50,19 @@ on:
required: false
type: boolean
default: false

env:
GH_TOKEN: ${{ secrets.PULUMI_BOT_TOKEN }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

jobs:
upgrade_provider:
name: upgrade-provider
runs-on: ubuntu-latest
permissions:
contents: write
issues: write
pull-requests: write
steps:
# Run as first step so we don't delete things that have just been installed
- name: Free Disk Space (Ubuntu)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# WARNING: This file is autogenerated - changes will be overwritten if not made via https://github.com/pulumi/ci-mgmt

name: Upgrade bridge

on:
repository_dispatch:
types:
Expand Down Expand Up @@ -49,13 +50,19 @@ on:
required: false
type: boolean
default: false

env:
GH_TOKEN: ${{ secrets.PULUMI_BOT_TOKEN }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

jobs:
upgrade_provider:
name: upgrade-provider
runs-on: ubuntu-latest
permissions:
contents: write
issues: write
pull-requests: write
steps:
- name: Checkout Repo
uses: actions/checkout@v4
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# WARNING: This file is autogenerated - changes will be overwritten if not made via https://github.com/pulumi/ci-mgmt

name: Upgrade bridge

on:
repository_dispatch:
types:
Expand Down Expand Up @@ -49,13 +50,19 @@ on:
required: false
type: boolean
default: false

env:
GH_TOKEN: ${{ secrets.PULUMI_BOT_TOKEN }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

jobs:
upgrade_provider:
name: upgrade-provider
runs-on: ubuntu-latest
permissions:
contents: write
issues: write
pull-requests: write
steps:
- name: Checkout Repo
uses: actions/checkout@v4
Expand Down

0 comments on commit 782eadf

Please sign in to comment.