Skip to content

Commit

Permalink
update build config
Browse files Browse the repository at this point in the history
  • Loading branch information
sebthom committed Jul 27, 2023
1 parent 4d2095b commit f109fe5
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 10 deletions.
6 changes: 6 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
*Issue #, if available:*

*Description of changes:*


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ updates:
prefix-development: chore
include: scope
labels:
- gha
- dependencies
- gha
8 changes: 5 additions & 3 deletions .github/stale.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
# Configuration for probot-stale - https://github.com/probot/stale

# Number of days of inactivity before an issue becomes stale
daysUntilStale: 60
daysUntilStale: 120

# Number of days of inactivity before a stale issue is closed
daysUntilClose: 7
daysUntilClose: 14

# Issues with these labels will never be considered stale
exemptLabels:
- enhancement
- pinned
- security

Expand All @@ -18,7 +19,8 @@ staleLabel: wontfix
markComment: >
This issue has been automatically marked as stale because it has not had
recent activity. It will be closed in 7 days if no further activity occurs.
Thank you for your contributions.
If the issue is still valid, please add a respective comment to prevent this
issue from being closed automatically. Thank you for your contributions.
# Comment to post when closing a stale issue. Set to `false` to disable
closeComment: false
24 changes: 18 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,36 @@
# https://docs.github.com/en/free-pro-team@latest/actions/reference/workflow-syntax-for-github-actions
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions
name: Build

on:
push:
branches-ignore: # build all branches except:
- 'dependabot/**' # prevent GHA triggered twice (once for commit to the branch and once for opening/syncing the PR)
tags-ignore: # don't build tags
- '**'
paths-ignore:
- '**/*.adoc'
- '**/*.md'
- '.editorconfig'
- '.git*'
- '.github/*.yml'
pull_request:
workflow_dispatch:
# https://github.blog/changelog/2020-07-06-github-actions-manual-triggers-with-workflow_dispatch/

defaults:
run:
shell: cmd

jobs:
build:
runs-on: windows-latest

steps:
- name: "SCM Checkout"
uses: actions/checkout@v3 #https://github.com/actions/checkout
- name: Show environment variables
run: set

- name: Git Checkout
uses: actions/checkout@v3 # https://github.com/actions/checkout

- name: "Cache: cygwin packages repository"
uses: actions/cache@v3
Expand All @@ -24,13 +39,10 @@ jobs:
key: ${{ runner.os }}-cygwinrepo

- name: "Install: cygwin-portable"
shell: cmd
run: call .\cygwin-portable-installer.cmd

- name: "Test: Start cygwin-portable"
shell: cmd
run: call .\cygwin-portable.cmd "bash --version"

- name: "Test: apt-cyg update"
shell: cmd
run: call .\cygwin-portable.cmd "apt-cyg update"

0 comments on commit f109fe5

Please sign in to comment.