Update testing_flow.yml

This commit is contained in:
jstan-isch 2023-01-26 10:56:45 -06:00 committed by GitHub
parent b47867fa07
commit 92a01916c6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,18 +8,25 @@ on:
jobs: jobs:
see-the-contexts: see-the-contexts:
runs-on: ubuntu-latest runs-on: ubuntu-latest
container:
image: alpine:latest
credentials:
username: ${{ DOCKERHUB_USERNAME }}
password: ${{ DOCKERHUB_TOKEN }}
steps: steps:
- name: Checkout pull request HEAD - name: Checkout PR HEAD
uses: actions/checkout@v3 uses: actions/checkout@v3
with: with:
ref: ${{ github.event.pull_request.head.ref }} ref: ${{ github.event.pull_request.head.ref }}
token: ${{ secrets.MY_PAT }} # token: ${{ secrets.MY_PAT }}
- name: install curl
run: apk --no-cache add curl
- name: Create a file - name: Create a file
run: | run: |
touch file8.txt echo "added dummy file 6" > file28.txt
echo "added dummy file 6" > file8.txt
- name: commit and push - name: commit and push
run: | run: |
@ -28,7 +35,39 @@ jobs:
git add . git add .
git commit -m "generated" git commit -m "generated"
git push git push
tee-the-contexts:
runs-on: ubuntu-latest
container:
image: alpine:latest
credentials:
username: ${{ DOCKERHUB_USERNAME }}
password: ${{ DOCKERHUB_TOKEN }}
steps:
- name: Checkout PR HEAD
uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.ref }}
# token: ${{ secrets.MY_PAT }}
- name: Create a file
run: |
echo "added dummy file 6" > Jenkinsfile_main
- name: commit and push
run: |
git config user.name jstan-isch
git config user.email stanleyikegwuonu@gmail.com
git add .
git commit -m "generated"
git push
vee-the-contexts:
needs: [see-the-contexts, tee-the-contexts]
runs-on: ubuntu-latest
steps:
- name: Repository Dispatch - name: Repository Dispatch
run: | run: |
curl \ curl \