Skip to content

Adds a reusable pipeline for acceptance testing #10

Adds a reusable pipeline for acceptance testing

Adds a reusable pipeline for acceptance testing #10

name: Metasploit Framework Acceptance
# Optional, enabling concurrency limits: https://docs.github.com/en/actions/using-jobs/using-concurrency
#concurrency:
# group: ${{ github.ref }}-${{ github.workflow }}
# cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions
permissions:
actions: none
checks: none
contents: none
deployments: none
id-token: none
issues: none
discussions: none
packages: none
pages: none
pull-requests: none
repository-projects: none
security-events: none
statuses: none
on:
workflow_dispatch:
inputs:
metasploitFrameworkCommit:
description: 'metasploit-framework branch would like to test'
required: true
default: 'master'
push:
branches-ignore:
- gh-pages
- metakitty
pull_request:
branches:
- '*'
paths:
- 'build/**'
- 'deps/**'
- 'docker/**'
- 'lib/**'
- 'libreflect/**'
- 'make/**'
- 'mettle/**'
- 'pkg/**'
- 'spec/**'
- 'util/**'
- '.github/**'
# Example of running as a cron, to weed out flaky tests
# schedule:
# - cron: '*/15 * * * *'
jobs:
build:
uses: rapid7/metasploit-framework/.github/workflows/shared_meterpreter_acceptance.yml@master

Check failure on line 56 in .github/workflows/metasploit-framework_acceptance.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/metasploit-framework_acceptance.yml

Invalid workflow file

error parsing called workflow ".github/workflows/metasploit-framework_acceptance.yml" -> "rapid7/metasploit-framework/.github/workflows/shared_meterpreter_acceptance.yml@master" : failed to fetch workflow: workflow was not found.
with:
metasploit-framework_commit: ${{ github.event.inputs.metasploitFrameworkCommit }}
build_mettle: true