48 lines
1.8 KiB
YAML
48 lines
1.8 KiB
YAML
# WARNING: This file is autogenerated - changes will be overwritten when regenerated by https://github.com/pulumi/ci-mgmt
|
|
name: "Resync Build Workflows"
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
contents: write
|
|
pull-requests: write
|
|
|
|
jobs:
|
|
upgrade_provider:
|
|
name: pull-workflow-changes
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout Repo
|
|
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
|
|
with:
|
|
# Persist credentials so pull-workflow-changes can push a new branch.
|
|
persist-credentials: true
|
|
- name: Setup mise
|
|
uses: jdx/mise-action@146a28175021df8ca24f8ee1828cc2a60f980bd5 # v3
|
|
env:
|
|
MISE_FETCH_REMOTE_VERSIONS_TIMEOUT: 30s
|
|
with:
|
|
version: 2025.11.6
|
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
# only saving the cache in the prerequisites job
|
|
cache_save: false
|
|
- 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@84ae59a2cdc2258d6fa0732dd66352dddae2a412 # v7.0.9
|
|
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-incus
|
|
committer: pulumi-bot <bot@pulumi.com>
|
|
labels: impact/no-changelog-required
|
|
title: Regenerate Github Actions workflows for pulumi-incus
|
|
token: ${{ env.GITHUB_TOKEN }}
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.PULUMI_PROVIDER_AUTOMATION_TOKEN || secrets.PULUMI_BOT_TOKEN || secrets.GITHUB_TOKEN }}
|