Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Improve CI #420

Merged
merged 1 commit into from
Jun 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
chore: Improve CI
* Add files to ignore
* Add condition when to run
  • Loading branch information
axunonb committed Jun 10, 2024
commit 6ba7f6db3a9bb55fbfcea4e97d114f35cae0541b
4 changes: 2 additions & 2 deletions .github/workflows/CheckWikiUpdates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
check-wiki:
if: github.repository == 'axuno/SmartFormat'
if: ${{ github.repository == 'axuno/SmartFormat' }}
runs-on: ubuntu-latest
steps:
- name: Checkout wiki
Expand Down Expand Up @@ -42,7 +42,7 @@ jobs:
ref: ${{ github.ref }}
- name: Create issue if wiki was updated
id: create-issue
if: ${{ env.commitCount }} != '0'
if: ${{ env.commitCount != '0' }}
uses: JasonEtco/create-an-issue@v2.9.2
env:
GITHUB_TOKEN: ${{ secrets.WIKI_CHECK_TOKEN }}
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/SonarCloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,13 @@ name: SonarCloud
on:
push:
branches: [ main, 'version/**', 'pr/**', 'pr-**' ]
paths-ignore:
- '**/*.md'
pull_request:
branches: [ main, 'version/**', 'pr/**', 'pr-**' ]
types: [opened, synchronize, reopened]
paths-ignore:
- '**/*.md'
jobs:
build:
name: Build
Expand Down
13 changes: 7 additions & 6 deletions .github/workflows/Wiki_Update_Issue_Template.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@ assignees: ''
Number of commits
made to the Wiki in the last 24 hours: **{{ env.CommitCount }}**

The wiki was last updated on
```
Date: {{ env.UpdatedOn }}
Commit Hash: [{{ env.Hash }}](https://github.com/axuno/SmartFormat/wiki/_compare/{{ env.Hash }})
Commit Message: "{{ env.CommitMessage }}"
```
These are the details of the latest commit:

| Item | Value |
|:---|:---|
| Date | {{ env.UpdatedOn }} |
| Hash | [{{ env.Hash }}](https://github.com/axuno/SmartFormat/wiki/_compare/{{ env.Hash }}) |
| Message | {{ env.CommitMessage }} |
4 changes: 4 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
version: 3.0.0.{build} # Only change for mayor versions (e.g. 4.0.0)
skip_commits:
files:
- '**/*.md'
- '.github/**/*'
environment:
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
matrix:
Expand Down