ci: run github work flow only for pull request

currently github action are getting trigerred for
both pull and push request, this commits removes the
action for push  events.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
This commit is contained in:
Madhu Rajanna 2020-12-02 13:27:02 +05:30 committed by Madhu Rajanna
parent 3433cefaa5
commit 00d34fdb2d
2 changed files with 1 additions and 7 deletions

View File

@ -2,7 +2,6 @@
name: multi-arch-build name: multi-arch-build
# yamllint disable-line rule:truthy # yamllint disable-line rule:truthy
on: on:
push:
pull_request: pull_request:
branches: branches:
- '*' - '*'

View File

@ -4,14 +4,9 @@
name: Codespell name: Codespell
# yamllint disable-line rule:truthy # yamllint disable-line rule:truthy
on: on:
push:
tags:
- v*
branches:
- master
pull_request: pull_request:
branches: branches:
- master - '*'
jobs: jobs:
codespell: codespell:
name: codespell name: codespell