mirror of
https://github.com/google/blockly.git
synced 2026-05-12 23:20:10 +02:00
ca4df2f8d0
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 4.1.4 to 4.2.0. - [Release notes](https://github.com/peter-evans/create-pull-request/releases) - [Commits](https://github.com/peter-evans/create-pull-request/compare/ad43dccb4d726ca8514126628bec209b8354b6dd...b4d51739f96fca8047ad065eccef63442d8e99f7) --- updated-dependencies: - dependency-name: peter-evans/create-pull-request dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
46 lines
1.3 KiB
YAML
46 lines
1.3 KiB
YAML
# This workflow updates the check_metadata.sh script, which compares the current
|
|
# size of build artifacts against their size in the previous version of Blockly.
|
|
|
|
name: Update Metadata
|
|
|
|
on: [workflow_dispatch]
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
update-metadata:
|
|
permissions:
|
|
contents: write # for peter-evans/create-pull-request to create branch
|
|
pull-requests: write # for peter-evans/create-pull-request to create a PR
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Check Out Blockly
|
|
uses: actions/checkout@v3
|
|
with:
|
|
ref: 'develop'
|
|
|
|
- name: Use Node.js 16.x
|
|
uses: actions/setup-node@v3
|
|
with:
|
|
node-version: 16.x
|
|
|
|
- name: Build Blockly
|
|
run: npm run build:compressed
|
|
|
|
- name: Build Blockly blocks
|
|
run: npm run build:blocks
|
|
|
|
- name: Update Metadata
|
|
run: source ./tests/scripts/update_metadata.sh
|
|
|
|
- name: Create Pull Request
|
|
uses: peter-evans/create-pull-request@b4d51739f96fca8047ad065eccef63442d8e99f7
|
|
with:
|
|
commit-message: Update build artifact sizes in check_metadata.sh
|
|
delete-branch: true
|
|
title: Update build artifact sizes in check_metadata.sh
|
|
|
|
- name: View Pull Request
|
|
run: echo "View Pull Request - ${{ steps.cpr.outputs.pull-request-url }}" |