Skip to content

Commit

Permalink
fix(test): Stop the testworkflow due to vulnerability
Browse files Browse the repository at this point in the history
  • Loading branch information
mob-sakai committed Jan 29, 2021
1 parent 28f6d8e commit 23ead5b
Showing 1 changed file with 10 additions and 14 deletions.
24 changes: 10 additions & 14 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ on:
- "**/Dockerfile"
- .github/workflows/test.yml
- reference-project-test/*
pull_request_target:
paths:
- "**/Dockerfile"
- reference-project-test/*
# pull_request_target:
# paths:
# - "**/Dockerfile"
# - reference-project-test/*

jobs:
###########################
Expand All @@ -28,15 +28,7 @@ jobs:
###########################
# Checkout #
###########################
- name: Checkout (default)
uses: actions/checkout@v2
if: github.event.event_type != 'pull_request_target'
- name: Checkout (pull_request_target)
uses: actions/checkout@v2
if: github.event.event_type == 'pull_request_target'
with:
ref: ${{ github.event.pull_request.head.ref }}
repository: ${{ github.event.pull_request.head.repo.full_name }}
- uses: actions/checkout@v2

###########################
# Setup #
Expand Down Expand Up @@ -132,9 +124,13 @@ jobs:

steps:
###########################
# Setup #
# Checkout #
###########################
- uses: actions/checkout@v2

###########################
# Setup #
###########################
- uses: docker/setup-qemu-action@v1
- uses: docker/setup-buildx-action@v1
with:
Expand Down

0 comments on commit 23ead5b

Please sign in to comment.