Skip to content

Commit

Permalink
Merge branch 'classic' into dependabot/github_actions/actions-minor-9…
Browse files Browse the repository at this point in the history
…23c0cb975
  • Loading branch information
offensive-vk authored Sep 27, 2024
2 parents 3eb9147 + 6417dad commit 6cace80
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 25 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/auto-issue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Automated Issue

on:
pull_request:
types: ["opened", "closed"]
types: ["opened", "synchronize", "closed"]
issue_comment:
types: ["created"]
workflow_dispatch:
Expand All @@ -12,7 +12,7 @@ on:
jobs:
create_issue:
runs-on: ubuntu-latest
if: github.event_name == 'pull_request' && github.event.pull_request.state == 'open'
if: ${{ github.event_name == 'pull_request' && github.event.pull_request.state == 'open' && github.actor != 'dependabot[bot]' && github.event_name == 'pull_request' }}
steps:
- uses: actions/checkout@v4
- name: Generate Issue Template
Expand All @@ -33,7 +33,6 @@ jobs:
- Pull Request Number: #${{ github.event.number }}
- Pull Request Title: ${{ github.event.pull_request.title }}
- Issue Details: ${{ github.event.issue.id }} - ${{ github.event.issue.number }}
- Current Action Status: ${{ github.action_status }}
---
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/auto-label.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ on:
jobs:
label_pull_requests:
runs-on: ubuntu-latest
if: ${{ github.event_name == 'pull_request' && github.event.pull_request.state == 'open' && github.actor != 'dependabot[bot]' && github.event_name == 'pull_request' }}
permissions:
contents: read
pull-requests: write
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/auto-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ on:
jobs:
create_pr:
runs-on: ubuntu-latest
if: ${{ github.actor != 'dependabot[bot]' && github.event.pusher.name != 'dependabot[bot]' }}

steps:
- uses: actions/checkout@v4

Expand All @@ -34,6 +36,7 @@ jobs:
update_pr:
needs: create_pr
runs-on: ubuntu-latest
if: ${{ github.actor != 'dependabot[bot]' && github.event.pusher.name != 'dependabot[bot]' }}
steps:
- uses: actions/checkout@v4

Expand Down
22 changes: 0 additions & 22 deletions .github/workflows/auto-quote.yml

This file was deleted.

19 changes: 19 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
FROM ubuntu:latest

RUN apt-get update && \
apt-get install -y \
build-essential \
cmake \
git \
clang \
libssl-dev \
&& rm -rf /var/lib/apt/lists/*

WORKDIR /base

COPY . .

HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \
CMD echo "pass" || exit 1

CMD [ "gcc -o main ./C/main.c","./C/main.exe" ]

0 comments on commit 6cace80

Please sign in to comment.