Change ha #145
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: Print Hello | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
- foobar | |
- hauptzweig | |
tags: | |
- f* | |
jobs: | |
print_hello: | |
name: "Print Hello" | |
runs-on: ubuntu-latest | |
env: | |
REF_TYPE: ${{ github.ref_type }} | |
DUMMY: ${{ secrets.DUMMY_SECRET }} | |
MERGEBOT_TOKEN: ${{ secrets.MERGEBOT_TOKEN }} | |
LIMIT: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref_name }}-${{ github.ref_type == 'branch' && github.sha}} | |
steps: | |
- name: Print Hello | |
run: | | |
echo "Hello World" | |
echo ${DUMMY}|md5sum - | |
echo ${MERGEBOT_TOKEN}|md5sum - | |
- name: Print on Push to foobar | |
if: ${{ github.event_name == 'push' && github.event.ref == 'refs/heads/foobar' }} | |
run: echo "Hello on push ${{ github.event.ref }}" | |
- name: Install buck | |
run: | | |
# sudo apt update -q | |
# wget -q https://github.com/facebook/buck/releases/download/v2021.01.12.01/buck.2021.01.12.01_all.deb | |
# sudo apt install ./buck.2021.01.12.01_all.deb | |