Skip to content

Commit 16700f4

Browse files
Implement CI workflow.
1 parent 8220d91 commit 16700f4

1 file changed

Lines changed: 32 additions & 0 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# See: https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions
2+
---
3+
name: CI
4+
5+
# WARNING! PLEASE READ BEFORE MAKING ANY CHANGES:
6+
#
7+
# This workflow is triggered on `pull_request_target` event,
8+
# which makes it highly prone to security issues,
9+
# as in this case we are executing untrusted, user-provided,
10+
# potentially malicious code from pull requests in an environment
11+
# that might contain overly permissive tokens or exposed secrets,
12+
# if not implemented properly.
13+
#
14+
# Please only modify this file if you know what you're doing.
15+
16+
on:
17+
push:
18+
branches: [main, master]
19+
pull_request_target:
20+
types: [opened, synchronize, reopened]
21+
22+
permissions:
23+
contents: read
24+
25+
jobs:
26+
ci:
27+
uses: asimov-modules/.github/.github/workflows/ci-rust.yaml@master
28+
secrets: inherit
29+
permissions:
30+
actions: read
31+
contents: read
32+
pull-requests: write

0 commit comments

Comments
 (0)