Skip to content
Closed
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
5 changes: 5 additions & 0 deletions .changeset/clean-places-deny.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@drivenets/eslint-plugin-design-system": patch
---

Update dependencies
11 changes: 9 additions & 2 deletions .github/scripts/generate-dependabot-changeset.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,16 @@ const changeset: Changeset = {
await writeChangeset(changeset, rootDir);

await git.add('-A', rootDir);
await git.commit('chore: update changeset', rootDir);

await execAsync('git push', { cwd: rootDir });
// const committed = await git.commit('chore: update changeset', rootDir);

const commit = await execAsync('git commit -m "chore: update changeset"', { cwd: rootDir });

console.log({ commit });

const { stderr, stdout } = await execAsync('git push', { cwd: rootDir });

console.log({ stderr, stdout });

async function getExistingChangeset() {
const changedFiles = await git.getChangedFilesSince({
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/dependabot-changeset.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Dependabot

on: pull_request_target
on: pull_request

permissions: {}

Expand Down Expand Up @@ -38,5 +38,10 @@ jobs:
- name: Install Dependencies
uses: ./.github/actions/install

- name: Configure git user
run: |
git config user.name 'github-actions[bot]'
git config user.email '41898282+github-actions[bot]@users.noreply.github.com'

- name: Generate changeset
run: node .github/scripts/generate-dependabot-changeset.ts
2 changes: 1 addition & 1 deletion packages/eslint-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
}
},
"files": [
"README.md",
"README.md ",
"CHANGELOG.md",
"LICENSE",
"./dist",
Expand Down