mirror of
https://github.com/ansible-lockdown/RHEL9-CIS.git
synced 2025-12-27 07:23:07 +00:00
added github templates
Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This commit is contained in:
parent
4c70eb12fe
commit
fef96da2ec
7 changed files with 162 additions and 1 deletions
32
.github/ISSUE_TEMPLATE/bug_report.md
vendored
Normal file
32
.github/ISSUE_TEMPLATE/bug_report.md
vendored
Normal file
|
|
@ -0,0 +1,32 @@
|
||||||
|
---
|
||||||
|
name: Report Issue
|
||||||
|
about: Create a bug issue ticket to help us improve
|
||||||
|
title: ''
|
||||||
|
labels: bug
|
||||||
|
assignees: ''
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
**Describe the Issue**
|
||||||
|
A clear and concise description of what the bug is.
|
||||||
|
|
||||||
|
**Expected Behavior**
|
||||||
|
A clear and concise description of what you expected to happen.
|
||||||
|
|
||||||
|
**Actual Behavior**
|
||||||
|
A clear and concise description of what's happening.
|
||||||
|
|
||||||
|
**Control(s) Affected**
|
||||||
|
What controls are being affected by the issue
|
||||||
|
|
||||||
|
**Environment (please complete the following information):**
|
||||||
|
- Ansible Version: [e.g. 2.10]
|
||||||
|
- Host Python Version: [e.g. Python 3.7.6]
|
||||||
|
- Ansible Server Python Version: [e.g. Python 3.7.6]
|
||||||
|
- Additional Details:
|
||||||
|
|
||||||
|
**Additional Notes**
|
||||||
|
Anything additional goes here
|
||||||
|
|
||||||
|
**Possible Solution**
|
||||||
|
Enter a suggested fix here
|
||||||
21
.github/ISSUE_TEMPLATE/feature-request-or-enhancement.md
vendored
Normal file
21
.github/ISSUE_TEMPLATE/feature-request-or-enhancement.md
vendored
Normal file
|
|
@ -0,0 +1,21 @@
|
||||||
|
---
|
||||||
|
name: Feature Request or Enhancement
|
||||||
|
about: Suggest an idea for this project
|
||||||
|
title: ''
|
||||||
|
labels: enhancement
|
||||||
|
assignees: ''
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
**Feature Request or Enhancement**
|
||||||
|
- Feature []
|
||||||
|
- Enhancement []
|
||||||
|
|
||||||
|
**Summary of Request**
|
||||||
|
A clear and concise description of what you want to happen.
|
||||||
|
|
||||||
|
**Describe alternatives you've considered**
|
||||||
|
A clear and concise description of any alternative solutions or features you've considered.
|
||||||
|
|
||||||
|
**Suggested Code**
|
||||||
|
Please provide any code you have in mind to fulfill the request
|
||||||
17
.github/ISSUE_TEMPLATE/question.md
vendored
Normal file
17
.github/ISSUE_TEMPLATE/question.md
vendored
Normal file
|
|
@ -0,0 +1,17 @@
|
||||||
|
---
|
||||||
|
name: Question
|
||||||
|
about: Ask away.......
|
||||||
|
title: ''
|
||||||
|
labels: question
|
||||||
|
assignees: ''
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
**Question**
|
||||||
|
Pose question here.
|
||||||
|
|
||||||
|
**Environment (please complete the following information):**
|
||||||
|
- Ansible Version: [e.g. 2.10]
|
||||||
|
- Host Python Version: [e.g. Python 3.7.6]
|
||||||
|
- Ansible Server Python Version: [e.g. Python 3.7.6]
|
||||||
|
- Additional Details:
|
||||||
12
.github/pull_request_template.md
vendored
Normal file
12
.github/pull_request_template.md
vendored
Normal file
|
|
@ -0,0 +1,12 @@
|
||||||
|
**Overall Review of Changes:**
|
||||||
|
A general description of the changes made that are being requested for merge
|
||||||
|
|
||||||
|
**Issue Fixes:**
|
||||||
|
Please list (using linking) any open issues this PR addresses
|
||||||
|
|
||||||
|
**Enhancements:**
|
||||||
|
Please list any enhancements/features that are not open issue tickets
|
||||||
|
|
||||||
|
**How has this been tested?:**
|
||||||
|
Please give an overview of how these changes were tested. If they were not please use N/A
|
||||||
|
|
||||||
39
.github/workflows/communitytodevel.yml
vendored
Normal file
39
.github/workflows/communitytodevel.yml
vendored
Normal file
|
|
@ -0,0 +1,39 @@
|
||||||
|
---
|
||||||
|
# This is a basic workflow to help you get started with Actions
|
||||||
|
|
||||||
|
name: CommunityToDevel
|
||||||
|
|
||||||
|
# Controls when the action will run. Triggers the workflow on push or pull request
|
||||||
|
# events but only for the devel branch
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
branches: [ devel ]
|
||||||
|
|
||||||
|
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
|
||||||
|
jobs:
|
||||||
|
# This workflow contains a single job called "build"
|
||||||
|
build:
|
||||||
|
# The type of runner that the job will run on
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
# Steps represent a sequence of tasks that will be executed as part of the job
|
||||||
|
steps:
|
||||||
|
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
|
# Refactr pipeline for devel pull request/merge
|
||||||
|
- name: Refactr - Run Pipeline (to devel)
|
||||||
|
# You may pin to the exact commit or the version.
|
||||||
|
# uses: refactr/action-run-pipeline@be91e2796aa225268e4685c0e01a26d5f800cd53
|
||||||
|
uses: refactr/action-run-pipeline@v0.1.2
|
||||||
|
with:
|
||||||
|
# API token
|
||||||
|
api_token: '${{ secrets.REFACTR_KEY }}'
|
||||||
|
# Project ID
|
||||||
|
project_id: 5f47f0c4a13c7b18373e5556
|
||||||
|
# Job ID
|
||||||
|
job_id: 5f933cbcf9c74e86b1609c00
|
||||||
|
# Variables
|
||||||
|
variables: '{ "gitrepo": "https://github.com/ansible-lockdown/RHEL9-CIS.git", "image": "ami-04483b15b4268d18d", "githubBranch": "${{ github.head_ref }}", "username": "centos" }'
|
||||||
|
# Refactr API base URL
|
||||||
|
api_url: # optional
|
||||||
40
.github/workflows/develtomain.yml
vendored
Normal file
40
.github/workflows/develtomain.yml
vendored
Normal file
|
|
@ -0,0 +1,40 @@
|
||||||
|
---
|
||||||
|
# This is a basic workflow to help you get started with Actions
|
||||||
|
|
||||||
|
name: DevelToMain
|
||||||
|
|
||||||
|
# Controls when the action will run. Triggers the workflow on push or pull request
|
||||||
|
# events but only for the devel branch
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
branches: [ main ]
|
||||||
|
|
||||||
|
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
# This workflow contains a single job called "build"
|
||||||
|
build:
|
||||||
|
# The type of runner that the job will run on
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
# Steps represent a sequence of tasks that will be executed as part of the job
|
||||||
|
steps:
|
||||||
|
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
|
# Refactr pipeline for devel pull request/merge
|
||||||
|
- name: Refactr - Run Pipeline (to main)
|
||||||
|
# You may pin to the exact commit or the version.
|
||||||
|
# uses: refactr/action-run-pipeline@be91e2796aa225268e4685c0e01a26d5f800cd53
|
||||||
|
uses: refactr/action-run-pipeline@v0.1.2
|
||||||
|
with:
|
||||||
|
# API token
|
||||||
|
api_token: '${{ secrets.REFACTR_KEY }}'
|
||||||
|
# Project ID
|
||||||
|
project_id: 5f47f0c4a13c7b18373e5556
|
||||||
|
# Job ID
|
||||||
|
job_id: 5f90ad90f9c74e6d1e606e33
|
||||||
|
# Variables
|
||||||
|
variables: '{ "gitrepo": "https://github.com/ansible-lockdown/RHEL9-CIS.git", "image": "ami-04483b15b4268d18d", "username": "centos" }'
|
||||||
|
# Refactr API base URL
|
||||||
|
api_url: # optional
|
||||||
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -45,4 +45,4 @@ benchparse/
|
||||||
*.retry
|
*.retry
|
||||||
|
|
||||||
# GitHub Action/Workflow files
|
# GitHub Action/Workflow files
|
||||||
.github/
|
#.github/
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue