Shokrollah Ahmadi was arrested by security forces during a teachers' protest on 5 December 2023. After being taken to the local security police detention centre for interrogation and being charged, he was transferred to the local prison. He was released on bail on 13 December 2023.
On 4 February 2024, it was reported by the Iranian Teachers' Trade Association that Shokrollah Ahmadi, a teacher and trade union activist residing in Noorabad, Mamasani County, Fars Province, was summoned to Branch 2 of the Revolutionary Court in the county for charges to be explained. He faced accusations of assembly and collusion and engaging in propaganda against the system. He was required to appear at Branch 2 of the Mamasani Revolutionary Court to present his final defence.
On 1 July 2024, Shokrollah Ahmadi was summoned to the Mamasani County Court. On 22 December 2024, he was sentenced by the county's criminal court to three months in prison and a fine of 10 million tomans as a teachers' trade union activist in Mamasani. The sentence was suspended for three years, but he was required to provide for the needs of five students up to a limit of 5 million tomans.
On 10 January 2026, Shokrollah Ahmadi was arrested by security and law enforcement forces in Fars Province and was released on 12 January 2026.
On 11 September 2026, he was sentenced to three years in prison for "assembly and collusion to commit crimes against internal and external security" and to seven months and 15 days in prison for "propaganda activities against the Islamic Republic system."
On 26 September 2026, Shokrollah Ahmadi and several teachers' trade union activists from Eslamshahr, who had travelled to Noorabad Mamasani to visit and assess the situation of a colleague, were arrested by security forces. After interrogation, they were transferred to Noorabad Mamasani prison on 27 September 2026.
شکراله احمدی، در جریان برگزاری تجمع اعتراضی فرهنگیان، در تاریخ ۱۴ آذر ماه ۱۴۰۲، توسط نیروهای امنیتی، بازداشت و پس از انتقال به بازداشتگاه پلیس امنیت آن شهرستان و طی مراحل بازجویی ها و تفهیم اتهام، به زندان آن شهرستان منتقل و در تاریخ ۲۲ آذر ماه ۱۴۰۲، با تودیع قرار وثیقه آزاد شد.
در ۱۵ بهمن ماه ۱۴۰۲، به نقل از کانون صنفی معلمان ایران، طی روزهای اخیر، شکراله احمدی، از فرهنگیان و فعالان صنفی معلمان، ساکن شهرستان نورآباد از توابع ممسنی در استان فارس، برای تفهیم اتهام، به شعبه ۲ دادگاه انقلاب آن شهرستان، احضار شد. این فعال صنفی فرهنگیان ممسنی، در مضان اتهام اجتماع و تبانی و فعالیت تبلیغی علیه نظام قرار گرفته و باید در زمان تعیین شده جهت ارائه دفاعیات آخر خود به شعبه ۲ دادگاه انقلاب ممسنی، مراجعه کند.
در تاریخ ۱۱ تیر ماه ۱۴۰۳، شکراله احمدی به دادگاه شهرستان ممسنی احضار شد. در تاریخ ۱ دی ماه ۱۴۰۳، او به عنوان یک فعال صنفی معلمان در ممسنی، توسط دادگاه کیفری آن شهرستان به ۳ ماه حبس و پرداخت ۱۰ میلیون تومان جریمه محکوم شد. این حکم به مدت ۳ سال به حالت تعلیق درآمده است، اما او موظف شد تا نیازهای پنج دانش آموز را تا سقف ۵ میلیون تومان تأمین کند.
در تاریخ ۲۰ دی ماه ۱۴۰۴، شکراله احمدی توسط نیروهای امنیتی و انتظامی استان فارس بازداشت شد و در تاریخ ۲۲ دی ماه ۱۴۰۴ آزاد گردید.
در تاریخ ۲۰ شهریور ماه ۱۴۰۵، او به ۳ سال حبس به اتهام "اجتماع و تبانی برای ارتکاب جرم علیه امنیت داخلی و خارجی" و به ۷ ماه و ۱۵ روز حبس به اتهام "فعالیت تبلیغی علیه نظام جمهوری اسلامی" محکوم شد.
در تاریخ ۴ مهر ماه ۱۴۰۵، شکراله احمدی و تعدادی از فعالان صنفی معلمان از اسلامشهر که برای دیدار و بررسی وضعیت یکی از همکاران خود به نورآباد ممسنی رفته بودند، توسط نیروهای امنیتی بازداشت شدند. پس از بازجویی، آن ها در تاریخ ۵ مهر ماه ۱۴۰۵ به زندان نورآباد ممسنی منتقل شدند.