Skip to content
This repository was archived by the owner on Jun 4, 2025. It is now read-only.

Commit 914b860

Browse files
fix: add CI actions to examples (#45)
* feat: add CI actions to examples * chore: update PR template instructions
1 parent 01dc54f commit 914b860

File tree

2 files changed

+35
-0
lines changed

2 files changed

+35
-0
lines changed

.github/pull_request_template.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
**IMPORTANT: Please do not create a Pull Request for this repository.**
2+
3+
The contents of this repository are automatically synced from the parent [IPFS Examples Project](https://github.com/ipfs-examples/js-ipfs-examples) so any changes made to the standalone repository will be lost after the next sync.
4+
5+
Please open a PR against [IPFS Examples](https://github.com/ipfs-examples/js-ipfs-examples) instead.
6+
7+
## Contributing
8+
9+
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are **greatly appreciated**.
10+
11+
1. Fork the [IPFS Examples Project](https://github.com/ipfs-examples/js-ipfs-examples)
12+
2. Create your Feature Branch (`git checkout -b feature/amazing-example`)
13+
3. Commit your Changes (`git commit -a -m 'feat: add some amazing example'`)
14+
4. Push to the Branch (`git push origin feature/amazing-example`)
15+
5. Open a Pull Request

.github/workflows/sync.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Sync
2+
on:
3+
workflow_dispatch:
4+
schedule:
5+
- cron: "0 0 * * *"
6+
7+
jobs:
8+
sync:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v2
12+
- name: Pull from another repository
13+
uses: ipfs-examples/actions-pull-directory-from-repo@main
14+
with:
15+
source-repo: "ipfs-examples/js-ipfs-examples"
16+
source-folder-path: "examples/http-client-upload-file"
17+
source-branch: "master"
18+
target-branch: "main"
19+
git-username: github-actions
20+
git-email: [email protected]

0 commit comments

Comments
 (0)