initial commit
This commit is contained in:
41
.github/workflows/resync-build.yml
vendored
Normal file
41
.github/workflows/resync-build.yml
vendored
Normal file
@@ -0,0 +1,41 @@
|
||||
# WARNING: This file is autogenerated - changes will be overwritten when regenerated by https://github.com/pulumi/ci-mgmt
|
||||
name: "Resync Build Workflows"
|
||||
|
||||
on:
|
||||
schedule:
|
||||
# 3 AM UTC ~ 8 PM PDT / 7 PM PST every Tuesday.
|
||||
- cron: 0 3 * * TUE
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
pull-requests: write
|
||||
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.PULUMI_PROVIDER_AUTOMATION_TOKEN || secrets.PULUMI_BOT_TOKEN || secrets.GITHUB_TOKEN }}
|
||||
|
||||
jobs:
|
||||
upgrade_provider:
|
||||
name: pull-workflow-changes
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout Repo
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
# Persist credentials so pull-workflow-changes can push a new branch.
|
||||
persist-credentials: true
|
||||
- name: Regenerate the workflow files via https://github.com/pulumi/ci-mgmt
|
||||
run: |
|
||||
make ci-mgmt
|
||||
- name: Create PR (no linked issue)
|
||||
uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e # v7.0.8
|
||||
with:
|
||||
author: pulumi-bot <bot@pulumi.com>
|
||||
base: main
|
||||
body: This pull request was generated automatically by the resync-build workflow
|
||||
in this repository.
|
||||
branch: chore/resync-${{ github.run_id }}
|
||||
commit-message: Regenerate workflows for pulumi-xyz
|
||||
committer: pulumi-bot <bot@pulumi.com>
|
||||
labels: impact/no-changelog-required
|
||||
title: Regenerate Github Actions workflows for pulumi-xyz
|
||||
token: ${{ env.GITHUB_TOKEN }}
|
||||
Reference in New Issue
Block a user