mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
504759ce92
Use shared workflow for Galaxy import test (#7857)
Simplifiy workflows.
(cherry picked from commit 069b485b7e
)
Co-authored-by: Felix Fontein <felix@fontein.de>
20 lines
626 B
YAML
20 lines
626 B
YAML
---
|
|
# Copyright (c) Ansible Project
|
|
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
|
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
name: import-galaxy
|
|
'on':
|
|
# Run CI against all pushes (direct commits, also merged PRs) to main, and all Pull Requests
|
|
push:
|
|
branches:
|
|
- main
|
|
- stable-*
|
|
pull_request:
|
|
|
|
jobs:
|
|
import-galaxy:
|
|
permissions:
|
|
contents: read
|
|
name: Test to import built collection artifact with Galaxy importer
|
|
uses: ansible-community/github-action-test-galaxy-import/.github/workflows/test-galaxy-import.yml@main
|