Update style guide to reflect standard Go module layout #1340
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: check-label-preview-env | |
on: | |
pull_request: | |
types: [labeled] | |
jobs: | |
check-label-preview-env: | |
runs-on: ubuntu-latest | |
if: contains(github.event.pull_request.labels.*.name, 'preview-environment') | |
steps: | |
- name: Set PR | |
env: | |
PR_NUMBER: ${{ github.event.pull_request.number }} | |
run: | | |
echo "$PR_NUMBER" > pr.txt | |
- name: Save PR | |
uses: actions/upload-artifact@v2 | |
with: | |
name: pr.txt | |
path: | | |
pr.txt |