Skip to content

Commit

Permalink
updating workflow due to changes from prysmaticlabs/prysm#12719
Browse files Browse the repository at this point in the history
  • Loading branch information
james-prysm committed Nov 30, 2023
1 parent 61ea091 commit 3e4ce6f
Showing 1 changed file with 1 addition and 30 deletions.
31 changes: 1 addition & 30 deletions .github/workflows/web-ui-automation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -121,33 +121,4 @@ jobs:
with:
find: ${{ steps.previous_shasum.outputs.SHASUM }}
replace: ${{ needs.build_and_release.outputs.new_sha }}
include: "prysm_repo/WORKSPACE"

- name: Setup bazel
uses: jwlawson/actions-setup-bazel@v1
with:
bazel-version: '5.4.0'

- name: Run Bazel
run: cd prysm_repo && bazel build //validator/web:site_data

- name: Copy build site data
run: cd prysm_repo && cp bazel-bin/validator/web/site_data.go ./validator/web/site_data.go

- name: Run go FMT
run: cd prysm_repo && gofmt -w -s ./validator/web/site_data.go

- name: Create Pull Request
uses: peter-evans/create-pull-request@v3
with:
commit-message: Web-ui-version-${{ steps.current_version.outputs.TAG }}-commit
title: 'Prysm Web UI Release ${{ steps.current_version.outputs.TAG }}'
body: >
This PR is auto-generated by
[create-pull-request](https://github.com/peter-evans/create-pull-request).
labels: automated pr
path: prysm_repo
#reviewers: rauljordan, james-prysm
token: ${{ secrets.PAToken }}
branch: prysm-web-ui-${{ steps.current_version.outputs.TAG }}
base: develop
include: "prysm_repo/WORKSPACE"

0 comments on commit 3e4ce6f

Please sign in to comment.