Skip to content

Commit 39f5074

Browse files
committed
Custom badges
GIST added in README.md Create build-badges.yml
1 parent 5d66a01 commit 39f5074

File tree

2 files changed

+44
-11
lines changed

2 files changed

+44
-11
lines changed

.github/workflows/build-badges.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Build custom repository badges
2+
3+
on: [push]
4+
5+
jobs:
6+
7+
create_badges:
8+
name: create_gist_badges
9+
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- name: Create repository custom badge
14+
uses: schneegans/[email protected]
15+
with:
16+
auth: ${{ secrets.GIST_SECRET }}
17+
gistID: a9a2b2a02fda1b33461d53ddfe69d649
18+
filename: Queue_custom_repo_badge.json
19+
label: ${{ vars.REPO_BADGE_CUSTOM_LABEL }}
20+
labelColor: ${{ vars.REPO_BADGE_CUSTOM_LABEL_COLOR }}
21+
message: ${{ vars.REPO_BADGE_CUSTOM_MESSAGE }}
22+
color: ${{ vars.REPO_BADGE_CUSTOM_MESSAGE_COLOR }}
23+
- name: Create repository activity badge
24+
uses: schneegans/[email protected]
25+
with:
26+
auth: ${{ secrets.GIST_SECRET }}
27+
gistID: a9a2b2a02fda1b33461d53ddfe69d649
28+
filename: Queue_status_badge.json
29+
label: "Status"
30+
message: ${{ vars.REPO_STATUS }}
31+
color: ${{ vars.REPO_STATUS_COLOR }}

README.md

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,16 @@
1-
# Queue [![CodeFactor](https://www.codefactor.io/repository/github/smfsw/queue/badge)](https://www.codefactor.io/repository/github/smfsw/queue)
1+
# Queue
2+
3+
[![author](https://img.shields.io/endpoint?url=https://gist.githubusercontent.com/SMFSW/a9a2b2a02fda1b33461d53ddfe69d649/raw/auth_SMFSW.json)](https://github.com/SMFSW)
4+
![badge](https://img.shields.io/endpoint?url=https://gist.githubusercontent.com/SMFSW/a9a2b2a02fda1b33461d53ddfe69d649/raw/Queue_status_badge.json)
5+
[![license](https://img.shields.io/badge/License-BSD3-darkred.svg)](LICENSE)
6+
[![CodeFactor](https://www.codefactor.io/repository/github/smfsw/queue/badge)](https://www.codefactor.io/repository/github/smfsw/queue)
7+
8+
![platform](https://img.shields.io/endpoint?url=https://gist.githubusercontent.com/SMFSW/a9a2b2a02fda1b33461d53ddfe69d649/raw/ANY_platform.json)
9+
10+
[![doxy](https://img.shields.io/endpoint?url=https://gist.githubusercontent.com/SMFSW/a9a2b2a02fda1b33461d53ddfe69d649/raw/tool_DOXY.json)](https://smfsw.github.io/Queue)
11+
[![re_note](https://img.shields.io/endpoint?url=https://gist.githubusercontent.com/SMFSW/a9a2b2a02fda1b33461d53ddfe69d649/raw/tool_RN.json)](ReleaseNotes.md)
12+
13+
![badge](https://img.shields.io/endpoint?url=https://gist.githubusercontent.com/SMFSW/a9a2b2a02fda1b33461d53ddfe69d649/raw/Queue_custom_repo_badge.json)
214

315
Queue handling library (designed on Arduino)
416

@@ -64,16 +76,6 @@ In this particular case, dropping decision must be made before re-enabling inter
6476
- [RolloverTest.ino](examples/RolloverTest/RolloverTest.ino): Simple test to test queue rollover (for lib testing purposes mainly)
6577
- [LibTst.ino](examples/LibTst/LibTst.ino): flexible test (for lib testing purposes mainly)
6678

67-
## Documentation
68-
69-
Doxygen doc can be generated using "Doxyfile".
70-
71-
See [generated documentation](https://smfsw.github.io/Queue/)
72-
73-
## Release Notes
74-
75-
See [release notes](ReleaseNotes.md)
76-
7779
## See also
7880

7981
[cQueue](https://github.com/SMFSW/cQueue) - C implementation of this library

0 commit comments

Comments
 (0)