Skip to content

Commit c8d2974

Browse files
committed
docs(readme): reorganize environment variables
1 parent 2fb495c commit c8d2974

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,10 +107,10 @@ Keep reading for more cool stuff like:
107107
| `GIT_COMMIT_MESSAGE` | The message to use for commits made by this GitHub Action. | `chore(actions): empty commit for contribution graph` | |
108108
| `ORIGIN_TIMESTAMP` | The unix timestamp to start commits on. If you set `MAX_DAYS` greater than 1, commits will be made on days prior to this time. | The current timestamp | |
109109
| `MAX_DAYS` | The maximum integer number of days to commit on. If you want to backfill a year of commits, set this to `365`. | `1` | |
110-
| `INCLUDE_WEEKDAYS` | A boolean indicating whether or not to make commits on weekdays. | `true` | |
111-
| `INCLUDE_WEEKENDS` | A boolean indicating whether or not to make commits on weekends. | `true` | |
112110
| `MIN_COMMITS_PER_DAY` | The minimum integer number of commits to make per day (inclusive). Used by a pseudo-RNG. | `1` | |
113111
| `MAX_COMMITS_PER_DAY` | The maximum integer number of commits to make per day (inclusive). Used by a pseudo-RNG. | `1` | |
112+
| `INCLUDE_WEEKDAYS` | A boolean indicating whether or not to make commits on weekdays. | `true` | |
113+
| `INCLUDE_WEEKENDS` | A boolean indicating whether or not to make commits on weekends. | `true` | |
114114
| `FORCE_PUSH` | A boolean indicating whether or not to force push. **WARNING:** Setting this to `true` will clear out your repo on each run! | `false` | |
115115

116116
### Advanced environment variables 🧙‍♂️

src/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ const {
1818

1919
ORIGIN_TIMESTAMP = getUnixTime(new Date()),
2020
MAX_DAYS = 1,
21-
INCLUDE_WEEKDAYS = true,
22-
INCLUDE_WEEKENDS = true,
2321
MIN_COMMITS_PER_DAY = 1,
2422
MAX_COMMITS_PER_DAY = 1,
23+
INCLUDE_WEEKDAYS = true,
24+
INCLUDE_WEEKENDS = true,
2525
FORCE_PUSH = false,
2626
} = process.env;
2727

0 commit comments

Comments
 (0)